NUnit fail with System.ArgumentException: The net-4.0 framework is not available

Posted by Andreas on Stack Overflow See other posts from Stack Overflow or by Andreas
Published on 2010-04-14T08:06:06Z Indexed on 2010/04/14 8:13 UTC
Read the original article Hit count: 682

Filed under:
|
|

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?

© Stack Overflow or respective owner

Related posts about nunit

Related posts about nunit-2.5