VS 2010 Test Runner error “The agent process was stopped while the test was running.”

前端 未结 19 1548
醉话见心
醉话见心 2020-12-22 21:13

In Visual Studio 2010, I have a number of unit tests. When I run multiple tests at one time using test lists, I sometimes reveive the following error for one or more of the

19条回答
  •  再見小時候
    2020-12-22 21:29

    As this error can have many different causes, I'd like to add another one for completeness of this thread.

    If all your tests are aborting as described by the OP, the cause might be a wrong project configuration. In my case the target framework was set to .NET Framework 3.5. Setting it to a higher version through the project properties page (tab Application) resolved the issue.

提交回复
热议问题