visual-studio 安装 ReSharper 后,Visual Studio 2005 Intellisense 停止工作
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/178846/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Visual Studio 2005 Intellisense stopped working after ReSharper installation
提问by pradeeptp
I installed the ReSharper evaluation version and uninstalled it. Afterwards Visual Studio's Intellisense stopped working. I have restarted computer but I still have this problem.
我安装了 ReSharper 评估版并卸载了它。之后 Visual Studio 的 Intellisense 停止工作。我已经重新启动计算机,但我仍然有这个问题。
Can anyone please help me here?
任何人都可以在这里帮助我吗?
I am using Visual Studio 2005. Thanks.
我正在使用 Visual Studio 2005。谢谢。
回答by Gordon Bell
Try opening Visual Studio Command Prompt and entering:
尝试打开 Visual Studio 命令提示符并输入:
devenv.exe /ResetSettings
回答by Ben Hoffstein
Try going to Tools > Options > Text Editor > C# and checking all of the options under Statement completion. I think Resharper disables these upon installation.
尝试转到“工具”>“选项”>“文本编辑器”>“C#”并检查“语句完成”下的所有选项。我认为 Resharper 在安装时会禁用这些。
回答by Matt Price
Sometimes deleting the ncb file helps. Go to your solution directory and find the sln file, there will also be a file with the same name and the extension ncb. Make sure Visual Studio is closed (at least don't have that project open) and then delete that file. Don't worry Visual Studio will rebuild it for you.
有时删除 ncb 文件会有所帮助。转到您的解决方案目录并找到 sln 文件,还会有一个具有相同名称且扩展名为 ncb 的文件。确保 Visual Studio 已关闭(至少不要打开该项目),然后删除该文件。不要担心 Visual Studio 会为您重建它。
回答by Simon
The devenv.exe /ResetSettings was the only thing that worked for me. The full path in command prompt is as follows (for VS 2008)
devenv.exe /ResetSettings 是唯一对我有用的东西。命令提示符中的完整路径如下(针对VS 2008)
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE>devenv.exe /ResetSettings
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE>devenv.exe /ResetSettings
took me a while to find so I thought I'd post this to help
我花了一段时间才找到所以我想我会发布这个来帮助
回答by Simon
You could try to reset your Visual Studio setting by
您可以尝试通过以下方式重置您的 Visual Studio 设置
- End Process devenv.exe from Tast Manager if it is running .(It can close your Browser and Visual Studio)
- Run devenv /resetuserdata from Start -> Run
- 如果正在运行,则从 Tast Manager 结束处理 devenv.exe。(它可以关闭您的浏览器和 Visual Studio)
- 从开始运行 devenv /resetuserdata -> 运行
Hope It can help you.
希望它可以帮助你。
回答by ivan40
Disable updating intelliSense like in this article: http://amastaneh.blogspot.com/2007/11/disable-updating-intellisense.htmlEventhough for old version seems to work for me.
像这篇文章一样禁用更新智能感知:http://amastaneh.blogspot.com/2007/11/disable-updating-intellisense.html 尽管旧版本似乎对我有用 。
回答by ivan40
devenv /ResetSettings worked after uninstalling ReSharper. I did not have to do a repair. I did verify that the settings were checked under Text Editor > C#, but ResetSettings was the only thing that worked.
devenv /ResetSettings 在卸载 ReSharper 后工作。我不必进行维修。我确实验证了在 Text Editor > C# 下检查了设置,但 ResetSettings 是唯一有效的方法。
回答by Guy Starbuck
I would try a "repair" on the installation first. Control Panel, Add/Remove Programs, select Microsoft Visual Studio 2005, click "Change/Remove". It will load up the install dialog and give you the option to do a "repair".
我会先尝试对安装进行“修复”。控制面板,添加/删除程序,选择Microsoft Visual Studio 2005,点击“更改/删除”。它将加载安装对话框并为您提供“修复”选项。
YMMV, but at least it should reset a lot of the VS resources to their "fresh" state.
YMMV,但至少它应该将许多VS资源重置为“新鲜”状态。

