NUnit fail with System.ArgumentException: The net-4.0 framework is not available
- by Andreas
Exception:
ProcessModel: Default DomainUsage: Single
Execution Runtime: net-4.0
Unhandled Exception:
System.ArgumentException: The net-4.0 framework is not available
Parameter name: framework
at NUnit.Util.TestAgency.GetAgent(RuntimeFramework framework, Int32 waitTime, Boolean enableDebug)
at NUnit.Util.ProcessRunner.Load(TestPackage package)
at NUnit.ConsoleRunner.ConsoleUi.Execute(ConsoleOptions options)
at NUnit.ConsoleRunner.Runner.Main(String[] args)
OS
Winserver 2008 R2 x64
Nunit
2.5.4.10098
Test assembly
Built for .net 4.0 RTM (v4.0.30319)
Commandline
nunit-console.exe NServiceBus.Config.UnitTests.dll /framework=net-4.0
Any ideas?