Saturday 22 September 2012

Visual Studio 2012 Express error: MSTestAdapter could not discover the test

I have upgraded a Visual Studio 2010 solution targeting .Net 4 to Visual Studio 2012 - Express Web.

For some reason I cannot run my tests and I get the following error:
MSTestAdapter could not discover the test because the classic mode helper is not available. If a TestSettings file has been selected, unselect it and try again.

UPDATED:

My VS 2010 solution contained the following files:
- Local.testsettings
- SolutionName.vsmdi
- TraceAndTestImpact.testsettings

After upgrading the project to VS 2012 the files above were kept as part of the solution.

To fix the issue:
- Remove all 3 files from the solution
- Delete all 3 files from the solution folder
- Close the solution in VS12 and reopen it

No comments:

Post a Comment