ExpectedException on TestMethod Visual Studio 2010

前端 未结 8 890
心在旅途
心在旅途 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:23

    A Microsoft support guy told me to use Ctrl-F5 (start without debugging) when running my unit tests, and that seems to work.

    Another thing to try is to go to Tools|Options|Debugging and un-check the "Enable Just My Code" option.

提交回复
热议问题