views:

21

answers:

1

Is there a way to set /framework:net-4.0 in nunit-console.exe.config like in GUI? Or any other way to run NUnit tests with MSBuild Community Tasks?

A: 

I thought that this solution was applicable to NUnit GUI only, appearently it is applicable to any .NET application. So to answer my own question, all you have to do is add <startup> <supportedRuntime version="v4.0"/> </startup> to nunit-console.exe.config and you don't have to specify it as a command argument.

Al Bundy