Friday, December 23, 2011

Nunit 2.5.2 dose not work with Visual Studio 2010 (i.e. with framework 4.0


Hi All

As we all know Nunit 2.5.2 dose not work with Visual Studio 2010 (i.e. with framework 4.0). By updating appropriate ‘config’ files of Nunit we can make it run for Visual Studio 2010.

Please follow the below steps:

1.    Go to flowing folder : C:\Program Files\NUnit 2.5.2\bin\net-2.0\
2.    Open the file ‘nunit.exe.config’ and/Or  ‘nunit-agent.exe.config’ and update it with the below attributes

Under <configuration> add:
<startup>
  <supportedRuntime version="v4.0.30319" />
</startup>

And under <runtime> add:
<loadFromRemoteSources enabled="true" />

Enjoy J

No comments:

Post a Comment