未找到System.MissingMethodException方法:';NUnit.Framework.Interfaces未找到任何测试

未找到System.MissingMethodException方法:';NUnit.Framework.Interfaces未找到任何测试,nunit,Nunit,我刚刚安装了NUnit v3.5.0,当我尝试运行现有测试时,出现以下错误: System.MissingMethodException 找不到方法:“NUnit.Framework.Interfaces.ITest NUnit.Framework.Api.nunitestAssemblyRunner.Load(System.Reflection.Assembly,System.Collections.IDictionary)”。 没有发现任何测试 有什么好主意吗!!:) 刚刚发现问题,我缺少一

我刚刚安装了NUnit v3.5.0,当我尝试运行现有测试时,出现以下错误:

System.MissingMethodException 找不到方法:“NUnit.Framework.Interfaces.ITest NUnit.Framework.Api.nunitestAssemblyRunner.Load(System.Reflection.Assembly,System.Collections.IDictionary)”。 没有发现任何测试


有什么好主意吗!!:)

刚刚发现问题,我缺少一个扩展,您需要安装“NUnit 3测试适配器”,方法是转到工具>>扩展和更新>>联机>>搜索:“NUnit 3测试适配器”

需要更多信息。您是否确实针对NUnit 3.5框架重新编译了测试?您是如何运行您的测试的?使用什么运行程序和版本?谢谢Charlie,不,我没有,您是如何针对NNUnit 3.5框架重新编译您的测试的?我通过单击VisualStudio上的测试选项卡上部菜单栏来运行测试,特别是测试>>运行>>所有测试