Teamcity:NUnit 版本字符串部分太短或太长

Teamcity: NUnit version string portion was too short or too long

我正在尝试使用 Teamcity 构建服务器构建 运行 单元测试。我开始构建我的项目,还安装了 NUnit。但是当我尝试 运行 单元测试时,出现以下错误。

Starting: D:\Ntapps\TeamCity\BuildAgent2\workabc171d155702d0\packages\NUnit.ConsoleRunner.3.6.0\tools\nunit3-console.exe D:\Ntapps\TeamCity\BuildAgent2\temp\buildTmp\dppSJMLyACKKGB7l1dAWbvFo9bLR6TcR.nunit --result=D:\Ntapps\TeamCity\BuildAgent2\temp\buildTmp\dppSJMLyACKKGB7l1dAWbvFo9bLR6TcR.nunit.xml --noheader
in directory: D:\Ntapps\TeamCity\BuildAgent2\workabc171d155702d0\AMDV\AMDV.App.IntegrationTests\bin\Debug
Runtime Environment
OS Version: Microsoft Windows NT 6.3.9600.0
CLR Version: 4.0.30319.42000

Test Files
D:\Ntapps\TeamCity\BuildAgent2\temp\buildTmp\dppSJMLyACKKGB7l1dAWbvFo9bLR6TcR.nunit

System.ArgumentException: Version string portion was too short or too long.
    at System.Version.VersionResult.SetFailure(ParseFailureKind failure, String argument)
    at System.Version.TryParseVersion(String version, VersionResult& result)
    at System.Version.Parse(String input)
    at System.Version..ctor(String version)
    at NUnit.Engine.Services.RuntimeFrameworkService.ApplyImageData(TestPackage package)
    at NUnit.Engine.Services.RuntimeFrameworkService.ApplyImageData(TestPackage package)
    at NUnit.Engine.Services.RuntimeFrameworkService.ApplyImageData(TestPackage package)
    at NUnit.Engine.Services.RuntimeFrameworkService.SelectRuntimeFramework(TestPackage package)
    at NUnit.Engine.Runners.MasterTestRunner.InitializePackage()
    at NUnit.Engine.TestEngine.GetRunner(TestPackage package)
    at NUnit.ConsoleRunner.ConsoleRunner.RunTests(TestPackage package, TestFilter filter)
    at NUnit.ConsoleRunner.Program.Main(String[] args)
Process exited with code -100
Publishing artifacts
Process exited with code -100
Step NUnit failed

我尝试用谷歌搜索,但这没有用,我不知道去哪里找。

I followed this tutorial to setup.

我发现了问题。我没有在测试中使用 NUnit,而是使用了 mstest。我这边的傻瓜:)