我有一个NUnit 3测试项目,在本地工作。当它使用MS TEST作为TFS构建运行时,它会抛出异常:
异常NUnit.Core.UnsupportedFrameworkException,在D:\ Builds \ Agent2 \ SPX \ solution \ bin \ project.dll
中抛出执行测试的异常
他是我的确切packages.config。一切都在使用3.4.1,所以我不确定问题是什么
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NUnit" version="3.4.1" targetFramework="net45" />
<package id="NUnit.Console" version="3.4.1" targetFramework="net45" />
<package id="NUnit.ConsoleRunner" version="3.4.1" targetFramework="net45" />
<package id="NUnit.Extension.NUnitProjectLoader" version="3.4.1" targetFramework="net45" />
<package id="NUnit.Extension.NUnitV2Driver" version="3.4.1" targetFramework="net45" />
<package id="NUnit.Extension.NUnitV2ResultWriter" version="3.4.1" targetFramework="net45" />
<package id="NUnit.Extension.TeamCityEventListener" version="1.0.1" targetFramework="net45" />
<package id="NUnit.Extension.VSProjectLoader" version="3.4.1" targetFramework="net45" />
<package id="NUnit3TestAdapter" version="3.4.1" targetFramework="net45" />
</packages>