JetBrains Resharper 9 Ultimate Test Runner错误:NUnit.Core.UnsupportedFrameworkException:跳过加载程序集{MyAssembly} [英] JetBrains Resharper 9 Ultimate Test Runner error: NUnit.Core.UnsupportedFrameworkException: Skipped loading assembly {MyAssembly}

查看:76
本文介绍了JetBrains Resharper 9 Ultimate Test Runner错误:NUnit.Core.UnsupportedFrameworkException:跳过加载程序集{MyAssembly}的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

JetBrains Resharper 9.1 Ultimate Test Runner引用了较旧版本的NUnit,这似乎是一个错误.我在程序集中使用NUnit 3.0.

This seems to be an error with the JetBrains Resharper 9.1 Ultimate Test Runner referencing an older version of NUnit. I am using NUnit 3.0 in my assembly.

[Window Title]
Unit Test Runner

[Main Instruction]
Unit Test Runner failed to run tests

[Expanded Information]
at NUnit.Core.Builders.TestAssemblyBuilder.GetCandidateFixtureTypes(Assembly assembly, String ns)
at NUnit.Core.Builders.TestAssemblyBuilder.GetFixtures(Assembly assembly, String ns)
at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, Boolean autoSuites)
at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, String testName, Boolean autoSuites)
at NUnit.Core.TestSuiteBuilder.Build(TestPackage package)
at NUnit.Core.SimpleTestRunner.Load(TestPackage package)
at NUnit.Core.ProxyTestRunner.Load(TestPackage package)
at NUnit.Core.RemoteTestRunner.Load(TestPackage package)
at JetBrains.ReSharper.UnitTestRunner.nUnit.BuiltInNUnitRunner.RunTests(IRemoteTaskServer server, Dictionary`2 tests, Dictionary`2 fixtures, List`1 explicitly, Boolean useAddins, List`1 assemblies)

问题升级到Resharper的版本10.

Problem goes away with upgrade to version 10 of Resharper.

推荐答案

正如Yousefi所述,此问题已通过更新到ReSharper的版本10来解决.我遇到了同样的问题,并解决了这个问题.

As Yousefi mentioned, this is fixed by updating to version 10 of ReSharper. I had the same issue and that resolved it.

这篇关于JetBrains Resharper 9 Ultimate Test Runner错误:NUnit.Core.UnsupportedFrameworkException:跳过加载程序集{MyAssembly}的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆