开发者

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

开发者 https://www.devze.com 2023-02-16 05:41 出处:网络
I\'ve got a VMWare Fusion Windows 7 ultimate VM with VS (2008 & 2010) and Resharper. I tried to move all my solutions to a shared drive on my Mac this morning, and after toggling with some trust i

I've got a VMWare Fusion Windows 7 ultimate VM with VS (2008 & 2010) and Resharper. 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.

EXCEPT that Resharper's test runne开发者_StackOverflow中文版r won't pick up my tests. 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.

See How to configure Resharper 5.1's Test Runner to accept network shares?

Find the Jetbrains.resharper.taskrunner.*.exe.config files and add the line:

<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). 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). After making the recommended addition and restarting VS2010, it worked!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号