在VS 2010中使用C ++时出错 [英] Error when using C++ in VS 2010
问题描述
当我在VS2010中打开C ++文件并尝试编辑它时,请尽快我按下我的第一个键,我得到一个错误框,说"Visual Studio遇到了异常。这可能是由"扩展"引起的。但我最近没有添加任何新的扩展。在我确定
错误框之后,Intellisence几乎在我的所有代码下显示错误(代码很好,我仍然可以编译)这使得VS非常难以使用,因为无法真正检查错误并且无法使用intellisence。我不得不禁用我的所有扩展,这允许我
编译,但我仍然有恼人的intellisence错误。知道怎么解决这个问题吗?
谢谢,
Eamonn
您好Eamo2020,
感谢您的帖子。
根据您的描述,这似乎是一个扩展问题。
您可以尝试在安全模式下运行VS以避免通过命令加载扩展名
命令提示符中的devenv / safemode
。
如果没有帮助,请随时告诉我。
Hi,
When I open a C++ file in VS2010 and try to edit it, as soon as I press my first key i get an error box saying "Visual Studio has encountered an exception. This may be caused by an extension" but I haven't added any new extensions lately. After I OK the error box Intellisence shows errors under almost all my code(the code is fine, I can still compile) this makes VS very difficult to work with as can cant really check for errors and cant use intellisence. I had to disable all my extensions, this allows me to compile but I still have the annoying intellisence errors. Any idea how I can fix this?
Thanks,
Eamonn
Hi Eamo2020,
Thanks for your post.
From your description, it seems to be an extension issue.
You can try to run VS in safemode to avoid extension loaded by command
devenv /safemode
in command prompt.
If it doesn't help, be free to let me know.
这篇关于在VS 2010中使用C ++时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!