1.对于NetFrameWork4需修改Nunit的nunit.exe.config,<startup></startup>加入以下两句:
<requiredRuntime version="v4.0.30319" />
<supportedRuntime version="v4.0.30319" />
2.Tools->Options->Debugging->General 去掉Require source files to exactly math the original version选项