VS 2010 Ultimate:将 ProteusDebugEngine 调试器附加到进程失败 [英] VS 2010 Ultimate: Attaching the ProteusDebugEngine debugger to process failed

查看:33
本文介绍了VS 2010 Ultimate:将 ProteusDebugEngine 调试器附加到进程失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的主机(Win 7 Ultimate 64 位)上将 C#/.NET 4 项目加载到 VS 2010 Ultimate 时,我收到错误消息

When loading a C# / .NET 4 project into VS 2010 Ultimate on my main machine (Win 7 ultimate 64 bits), I am getting the error message

Attaching the ProteusDebugEngine debugger to process '[XXXX] YYYY.vshost.exe'
on machine ZZZZ failed. The debugger is not properly installed. 
Cannot debug the requested type of code.
Run setup to install or repair the debugger.

这只发生在我将目标设置为任何 CPU"或x64"时;对于 x86 目标,我没有收到此消息.

This only happens when I set the target to 'Any CPU' or 'x64'; I don't get this message for a x86 target.

我已经卸载并重新安装了 VS 2010 两次,也尝试过修复.手动重新注册 oleaut32.dll 也无济于事.

I have already uninstalled and reinstalled VS 2010 two times, and also have tried a repair. Manually re-registering oleaut32.dll does not help either.

在我的笔记本电脑(Win 7 家庭高级版 64 位)上安装 VS 2010 Ultimate 时,我根本没有收到此错误消息.

When installing VS 2010 Ultimate on my notebook (Win 7 home premium 64 bits), I do not get this error message at all.

两台机器的软件设置非常相似.两台机器上都安装了 VS 2010 Express,我在两台计算机中的任何一台上都没有收到此错误.

Both machines have a pretty similar software setup. There is also VS 2010 Express installed on both machines, and I do not get this error with it on any of the two computers either.

对此的帮助将不胜感激.

Help on this would be greatly appreciated.

推荐答案

在新系统上安装 Visual Studio Ultimate 2010 后弹出相同的消息.我已经从 tfs 中提取了源代码并编译了所有内容.每个项目的配置都设置为 Any CPU,但是设置 top 是Mixed",一旦我将整体类型设置为 AnyCPU 并清理解决方案,它在调试器中开始正常.

Had the same message popping up after I installed Visual Studio Ultimate 2010 on a new system. I had pulled the source from tfs and everything compiled. The configuration had been set to Any CPU for each project, however the setting up top was "Mixed", once I set the overall type to AnyCPU and cleaned the solution, it started fine in the debugger.

这篇关于VS 2010 Ultimate:将 ProteusDebugEngine 调试器附加到进程失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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