Resharper 没有运行带有属性 [Test] 的测试 [英] Resharper is not runing tests with attribute [Test]

查看:31
本文介绍了Resharper 没有运行带有属性 [Test] 的测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行最新版本的 Resharper 2016.2 和 Visual Studio 2015 Update 3,今天当我想在我的解决方案上创建和运行新测试时,运行测试的上下文菜单没有出现.我试图恢复 VS 2015 的默认设置并重新安装 resharper,但仍然看不到这个上下文菜单..有什么解决方案吗?BTW:单元测试所在的项目是silverlight项目类型.

I am running the latest version of Resharper 2016.2 and Visual Studio 2015 Update 3 and today when I wanted create and run new tests on my solution the context menus to run the tests don't appear. I tried to restoring the default setting for VS 2015 and reinstalling resharper and still can't see this context menu.. any solution? BTW: The project where unit test are located is of type silverlight project.

推荐答案

ReSharper 不支持运行 Silverlight 测试,该测试需要在 Silverlight 进程中运行,并且 ReSharper 仅附带 .net 框架测试运行器主机.

ReSharper doesn't support running Silverlight tests, which need to be run in a Silverlight process, and ReSharper only ships with a .net framework test runner host.

这篇关于Resharper 没有运行带有属性 [Test] 的测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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