How can I disable code coverage / assembly instrumentation in Visual Studio 2012?
问题 I have a project upgraded from Visual Studio 2010 to 2012 and the .testrunconfig file was included in the upgrade process. I noticed that it was possible to click "Analyze code coverage" on any of the unit tests that I had run and it would correctly display the result. However, my test run configuration (originally from VS 2010) had code coverage disabled. After doing a bit of research I learned that the VS 2010 configuration files have been deprecated and replaced by .runsettings files. It