例外: ProcessModel:默认DomainUsage:单一执行运行时:net-4.0未处理异常:System.ArgumentException:net-4.0框架不可用参数名称:NUnit.Util.TestAgency.GetAgent框架(RuntimeFramework框架,Int32 waitTime,Boolean enableDebug )位于NUnit.ConsoleRunner.Runner.Main(String [] args)的NUnit.ConsoleRunner.ConsoleUi.Execute(ConsoleOptions选项)的NUnit.Util.ProcessRunner.Load(TestPackage包)
OS Winserver 2008 R2 x64
Nunit 2.5.4.10098
为.net 4.0 RTM(v4.0.30319)构建的测试组件
命令行 nunit-console.exe NServiceBus.Config.UnitTests.dll /framework=net-4.0
有任何想法吗?
所以我有一个NServiceBus.Host包依赖于NServiceBus> = 4.5.0.
在nuget上有一个4.5.1版本的NServiceBus.当我安装包NServiceBus.Host我得到:
PM> install-package nservicebus.host
Attempting to resolve dependency 'NServiceBus (? 4.5.0)'.
Attempting to resolve dependency 'NServiceBus.Interfaces (? 4.5.0)'.
Installing 'NServiceBus.Interfaces 4.5.0'.
You are downloading NServiceBus.Interfaces from NServiceBus Ltd, the license agreement to which is available at http://particular.net/LicenseAgreement. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant …Run Code Online (Sandbox Code Playgroud)