Setting up NCover for NUnit in FinalBuilder [closed]

China☆狼群 提交于 2019-12-04 14:49:18

As far as I know, NCover is not capable of covering tests for .NET 4.0. They announced a new version for .NET 4.0 but it is not there yet.

Find info on the subject here. Personally I have no experience with this task...

Update: They released NCover 3.4 with .NET 4.0 support. Perhaps You give it a try.

Ray

I've found your answer from this thread: NUnit isn't running Visual Studio 2010 code

To the nunit-console-x86.exe.config file, under <configuration> add:

<startup>
  <requiredRuntime version="v4.0.30319" />
</startup>

Under <runtime> add

<loadFromRemoteSources enabled="true" />

Fixed it for me. I'm using TeamCity not FinalBuilder though.

I'm also using NCover 3.4.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!