How to debug a NUnit use case with Visual Studio 2010

There was no problem before the switch to VS 2010 and framework 4.0. So after some googling here is the solution :

  • Edit your nunit.exe.config (should be in your Program directory next to nunit.exe)
  • under <configuration> add :
<startup>
  <supportedRuntime version="v4.0.30319" />
</startup>
  • and under <runtime> add:
<loadFromRemoteSources enabled="true" />

Sources :


Published 3rd Dec 2011 // #dotnet #windows




comments powered by Disqus