Visual Studio Test won't run over a network share

血红的双手。 提交于 2019-12-07 04:50:28
gouderadrian

strong textIn addition to the above, I realised I could not step through code either since the compiled dlls and exe could not be loaded from the shared drive.

This solved the problem. Edit C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe.config

Add <loadFromRemoteSources enabled="true"/> under <runtime> so that it looks like this:

<runtime>
    <loadFromRemoteSources enabled="true" />
    <UseSmallInternalThreadStacks enabled="true" />
    ...
Dude Pascalou

The gouderadrian's anwser did not worked for me. I am on a VirtualBox machine with Windows 7 64 bits and Visual Studio 2012.

I had to move the output to a local folder : open the unit tests project properties and in the Build tab, browse the Output path to a local folder. The tests are now detected and can be run.

For Visual Studio 2010 Express for Windows Phone the file you're looking for has the name VDPExpress.exe.config.

MS's docs here: http://msdn.microsoft.com/en-us/library/dd409252.aspx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!