无法在Visual Studio IDE中运行/调试 [英] Unable to Run/Debug in Visual Studio IDE

查看:157
本文介绍了无法在Visual Studio IDE中运行/调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几天前,我在计算机上发布了一个补丁程序,此后,我无法在Visual Studio 2005 IDE中运行或调试项目.

我注意到的东西:
-我可以打开和关闭项目;编译和发布;使用源代码管理等.
-运行"工具栏按钮已禁用
-F5/F10/F11无效,不显示错误或警告
-其他4个开发者收到了相同的补丁程序,没有问题
-如果我运行"本地管理员,则一切正常(但是我无权访问网络资源,因此不是永久解决方案)
-选项/工具/调试"窗格显示加载此属性页面时发生错误"
-其他一切似乎都正常运行
-通过Google无法找到类似的情况
-TechNet礼宾服务在10分钟后放弃了
-在Vista Enterprise下运行

A few days ago I had a patch pushed to my machine and since then I cannot run or debug a project within the Visual Studio 2005 IDE.

Stuff I''ve noticed:
- I can open & close projects; compile and publish; use Source Control, etc.
- The "run" toolbar button is disabled
- F5/F10/F11 have no effect with no errors or warnings displayed
- 4 other devs received the same patch and have no problem
- If I "runas" local admin, everything works (but I don’t have access to network resources, so not a permanent solution)
- the Options/Tools/Debugging pane says, "An error occurred loading this property page"
- everything else seems to be working just fine
- can’t find similar situations through Google
- TechNet concierge gave up after 10 minutes
- Running under Vista Enterprise

Any hints or assistance would be greatly appreciated!

推荐答案

我已经阅读了所有问题,但没有找到任何背后的正当理由.但是我怀疑您已在PC上安装了您的补丁之一.如果可能,请尝试重新安装所有产品,并且操作系统为Win VISTA.请尝试使用兼容设置运行VS2005.

如果还是不行.然后尝试使用VS的较新版本.较之VS2005,新版本更稳定.
I have read all through problems and didn''t find any good reason behind this. But I suspect one of your patch that you have installed on your PC. If possible try reinstalling all your products and as your OS is Win VISTA. Please try to run VS2005 with Compatibility settings.

If it still doesn''t work. then try for newer versions of VS. Newer versions are more stable than VS2005.


在致电MSDN之后,我终于能够解决此问题.我们在几次会议上尝试了很多事情,但是最终解决方案终于达成了.在命令行中,我必须运行:
After a call to MSDN, I was finally able to get through this problem. We tried quite a number of things over a couple sessions, but the final solution was finally reached. From the command line I had to run:
devenv /resetskippkgs 


我们已经运行了一些类似于此的重置项目,但是最终这似乎是可行的. MSDN技术为我提供了这些脚本中的其他一些脚本,以及它们的预期结果,这些都是我为您带来的观看乐趣:
devenv/resetsettings 如果您对项目有任何自定义设置,此命令将删除所有设置
devenv/resetskippkgs 清除所有选项,以跳过那些希望避免加载问题VSPackages的用户添加到VSPackages的加载,然后启动Visual Studio.
devenv/setup 强制Visual Studio合并描述所有可用VSPackage中的菜单,工具栏和命令组的资源元数据. devenv/safemode 以安全模式打开Visual Studio
devenv/resetuserdata 重置Visual Studio

希望这会有所帮助!


We had run a couple of reset items similar to this, but this is the one that in the end seemed to work. The MSDN tech gave me a few other of these scripts and their intended outcomes that I give to you for your viewing pleasure:
devenv /resetsettings This command will erase all the setting if you have any custom settings for the project
devenv /resetskippkgs Clears all options to skip loading added to VSPackages by users wishing to avoid loading problem VSPackages, then starts Visual Studio.
devenv /setup Forces Visual Studio to merge the resource metadata that describes menus, toolbars, and command groups from all VSPackages available.
devenv /safemode opens visual studio in safemode
devenv /resetuserdata to reset Visual Studio

Hope this helps!


这篇关于无法在Visual Studio IDE中运行/调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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