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:

  1. is bug of microsoft.visualstudio.qualitytools.unittestframework.dll 10.0.1.0?

  2. how can make unit test project use fixed version 10.0.0.0?


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -