ExpectedException on TestMethod Visual Studio 2010

前端 未结 8 889
心在旅途
心在旅途 2020-12-31 02:34

Today I upgraded my solution with all the underlying projects from VS2008 to VS2010. Everything went well except for my unit tests.

First of all only the web project

8条回答
  •  太阳男子
    2020-12-31 03:05

    Make sure your reference to Microsoft.VisualStudio.QualityTools.UnitTestingFramework is Version 10.0.0.0.

    If it is version 9.0.0.0 this problem will occur in Visual Studio 2010.

    Hope this helps. If people still have this problem.

提交回复
热议问题