Docker Community Forums

Share and learn in the Docker community.

Run unit test project in windows container, it is getting error cs(231,10): error CS0246: The type or namespace name 'TestMethod' could not be found (are you missing a using directive or a n assembly reference?)

for some reasons my windows container doesn’t correctly run the unit test project.
I am getting below error:

error CS0246: The type or namespace name ‘TestMethodAttribute’ could not be found (are you missing a using direc
tive or an assembly reference?)
error CS0246: The type or namespace name ‘TestMethod’ could not be found (are you missing a using directive or a
n assembly reference?)
……