不支持的框架错误 NUnit 和 MonoDevelop
Unsupported framework error NUnit and MonoDevelop
我有最新版本的 MonoDevelop(5.10) 和 NUnit(从官方 NuGet Gallery 安装的 3.6.1),每次我尝试 运行 测试时都会遇到错误
UnsupportedFrameworkException: Skipped loading assembly ... because it references an unsupported version of the nunit.framework 3.6.1.0
我该怎么办?
您显然是在尝试 运行 从 MonoDevelop 内部进行测试,它只支持 NUnit 到 2.4.8。
您需要安装 运行 nunit 控制台 运行ner。使用 NUnit.ConsoleRunner nuget 包和包中包含的 运行 nunit3-console。
我有最新版本的 MonoDevelop(5.10) 和 NUnit(从官方 NuGet Gallery 安装的 3.6.1),每次我尝试 运行 测试时都会遇到错误
UnsupportedFrameworkException: Skipped loading assembly ... because it references an unsupported version of the nunit.framework 3.6.1.0
我该怎么办?
您显然是在尝试 运行 从 MonoDevelop 内部进行测试,它只支持 NUnit 到 2.4.8。
您需要安装 运行 nunit 控制台 运行ner。使用 NUnit.ConsoleRunner nuget 包和包中包含的 运行 nunit3-console。