解决VS2010下使用NUnit 无法进行调试的问题

  在VS2010下使用NUnit 进行调试时,如果断点不能命中,请粘贴以下代码到Nunit的安装目录下的 nunit.exe.config 文件中替换<startup>...</startup>节点。

<startup useLegacyV2RuntimeActivationPolicy="true">
    <!-- Comment out the next line to force use of .NET 4.0 -->
    <supportedRuntime version="v4.0.30319" />
</startup>

在 NUnit 2.6.2 测试通过。

浸水博客
原文地址:https://www.cnblogs.com/dipwater/p/dipwater_NUnit.html