简体   繁体   English

Resharper Test Runner不会在VMWare Fusion共享文件夹中运行单元测试

[英]Resharper Test Runner wont run unit tests in VMWare Fusion shared folder

I've got a VMWare Fusion Windows 7 ultimate VM with VS (2008 & 2010) and Resharper. 我有VS(2008和2010)和Resharper的VMWare Fusion Windows 7终极虚拟机。 I tried to move all my solutions to a shared drive on my Mac this morning, and after toggling with some trust issues, everything works fine. 今天早上我尝试将我的所有解决方案都移到我的Mac上的共享驱动器上,在切换到一些信任问题之后,一切正常。

EXCEPT that Resharper's test runner won't pick up my tests. 除了Resharper的测试跑步者不会接受我的测试。 They just stay grayed out. 他们只是保持灰色。

I've searched everywhere for a solution, but no luck yet. 我到处寻找解决方案,但还没有运气。

I DO have a full trust set up for the location that the solution is in. 我确实为解决方案所在的位置设置了完全信任。

Any ideas? 有任何想法吗?

You have to change the .NET code execution security settings for the ReSharper test runner. 您必须更改ReSharper测试运行器的.NET代码执行安全性设置。

See How to configure Resharper 5.1's Test Runner to accept network shares? 请参阅如何配置Resharper 5.1的Test Runner以接受网络共享?

Find the Jetbrains.resharper.taskrunner.*.exe.config files and add the line: 找到Jetbrains.resharper.taskrunner。*。exe.config文件并添加以下行:

<loadFromRemoteSources enabled="true"/>

To the section. 到该部分。

I was experiencing the exact same thing (VMWare Fusion on a Mac with a Windows 7 Enterprise VM having VS2010 and ReSharper 5.1). 我遇到了完全相同的事情(在带有VS2010和ReSharper 5.1的Windows 7企业VM的Mac上的VMWare Fusion)。 While the error window was up, I opened task manager to see the process whose name began with "Jetbrains", then right-clicked and opened file location (that way I was sure to have the right config file). 当错误窗口启动时,我打开任务管理器以查看名称以“Jetbrains”开头的进程,然后右键单击并打开文件位置(这样我确定拥有正确的配置文件)。 After making the recommended addition and restarting VS2010, it worked! 在推荐添加并重新启动VS2010后,它工作正常!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Resharper - 单元测试运行器无法运行测试(System.Runtime.Remoting.RemotingException) - Resharper - Unit Test Runner failed to run tests (System.Runtime.Remoting.RemotingException) ReSharper 可以自动运行单元测试吗 - Can ReSharper run unit tests automatically Resharper Unit Test Runner明显慢于NUnit控制台 - Resharper Unit Test Runner significantly slower than NUnit console 在 Visual Studio/Resharper 中以调试模式运行单元测试时出现“不确定:测试未运行”错误 - “Inconclusive: Test not run” error running unit tests in debug mode in Visual Studio / Resharper 如何配置VS2012测试运行器来接收和运行Gallio单元测试? - How do I configure VS2012 test runner to pick up and run Gallio unit tests? Resharper测试运行程序在“全部运行”中找不到连接字符串 - Resharper test runner can't find connection string on Run All 重新测试单元测试 - Resharper problem with unit tests 在运行测试之前隐藏Resharper单元测试会话 - Resharper Unit Test Session hides before running tests 如何诊断Resharper Unit Test Runner“无法加载一个或多个请求的类型”错误 - How to diagnose Resharper Unit Test Runner “Unable to load one or more of the requested types” error ReSharper 没有运行新的单元测试 - ReSharper not running new unit tests
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM