c# - Mstest 10.0.1.0 is not recognizing ExpectedException -
mstest 10.0.1.0 not recognizing expectedexception.
i used msbuild generate unit test dlls.
it seems [expectedexception] not working:
[expectedexception(typeof(argumentnullexception))] public void test(){ throw new argumentnullexception("test"); }
failed when run mstest.
the unit test project referencing
microsoft.visualstudio.qualitytools.unittestframework.dll 10.0.1.0
(^ got info decompiling)
question:
is bug of microsoft.visualstudio.qualitytools.unittestframework.dll 10.0.1.0?
how can make unit test project use fixed version 10.0.0.0?
Comments
Post a Comment