错误调试code在Visual Studio 2012 - 无法初始化客户端代理:无法连接到 [英] Error debugging code in visual studio 2012 - Failed to initialize client proxy: could not connect to
问题描述
我有调试单元测试在Visual Studio中的问题。我可以从罚款测试浏览器中运行它们。问题是,我不能踏进code和调试。另外,我能够调试的code其他地方所没有的单元测试。
I am having Issues debugging unit tests in visual studio. I can run them fine from test explorer. The issue is that I cannot step into the code and debug. Also, I am able to debug other parts of the code that are not unit tests.
当我直接从测试浏览器单击测试,然后单击调试我得到一个装载对话框加载符号从步骤f vstest.executionengine.x86.exe:\ biniaries \ VSET \ mstestexecutor.x8g.csproj_1420192002 \ objr \ X86 。经过几个这样的测试停止运行和我在测试显示在输出窗口下面的错误。
When I right click on the test from test explorer and click debug I get a loading dialog saying "Loading symbols for vstest.executionengine.x86.exe from f:\biniaries\vset\mstestexecutor.x8g.csproj_1420192002\objr\x86". After a few more of these the test stops running and I get the following error displayed in the output window under "Tests".
------ Run test started ------
Failed to initialize client proxy: could not connect to .
========== Run test finished: 0 run (0:01:05.45) ==========
我已经试过如下:
I have tried the following:
- 对于设置了此目录中缓存的符号设置新目录中。
- 在重新安装VS2012与更新3
- 与安全模式开关运行
- 冉vs2012修复工具
推荐答案
在我来说,我发现,我需要运行Visual Studio以管理员身份。 HTH。
In my case I found that I needed to run visual studio as administrator. HTH.
这篇关于错误调试code在Visual Studio 2012 - 无法初始化客户端代理:无法连接到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!