安装ReSharper后,Visual Studio 2005 Intellisense停止工作

时间:2021-07-30 22:56:21

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.谢谢。

8 个解决方案

#1


39  

Try opening Visual Studio Command Prompt and entering:

尝试打开Visual Studio命令提示符并输入:

devenv.exe /ResetSettings

#2


16  

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在安装时会禁用它们。

#3


5  

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会为您重建它。

#4


3  

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

我花了一段时间才发现所以我想我会发布这个来帮忙

#5


1  

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.

卸载ReSharper后,devenv / ResetSettings工作正常。我没有必要修理。我确实验证了在Text Editor> C#下检查了设置,但ResetSettings是唯一可行的。

#6


1  

You could try to reset your Visual Studio setting by

您可以尝试重置Visual Studio设置

  1. End Process devenv.exe from Tast Manager if it is running .(It can close your Browser and Visual Studio)
  2. 如果正在运行,则从Tast Manager结束处理devenv.exe。(它可以关闭浏览器和Visual Studio)

  3. Run devenv /resetuserdata from Start -> Run
  4. 从开始 - >运行运行devenv / resetuserdata

Hope It can help you.

希望它可以帮到你。

#7


1  

Disable updating intelliSense like in this article: http://amastaneh.blogspot.com/2007/11/disable-updating-intellisense.html Eventhough for old version seems to work for me.

禁用像本文中那样更新intelliSense:http://amastaneh.blogspot.com/2007/11/disable-updating-intellisense.html尽管旧版本似乎对我有用。

#8


0  

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资源重置为“新鲜”状态。

#1


39  

Try opening Visual Studio Command Prompt and entering:

尝试打开Visual Studio命令提示符并输入:

devenv.exe /ResetSettings

#2


16  

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在安装时会禁用它们。

#3


5  

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会为您重建它。

#4


3  

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

我花了一段时间才发现所以我想我会发布这个来帮忙

#5


1  

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.

卸载ReSharper后,devenv / ResetSettings工作正常。我没有必要修理。我确实验证了在Text Editor> C#下检查了设置,但ResetSettings是唯一可行的。

#6


1  

You could try to reset your Visual Studio setting by

您可以尝试重置Visual Studio设置

  1. End Process devenv.exe from Tast Manager if it is running .(It can close your Browser and Visual Studio)
  2. 如果正在运行,则从Tast Manager结束处理devenv.exe。(它可以关闭浏览器和Visual Studio)

  3. Run devenv /resetuserdata from Start -> Run
  4. 从开始 - >运行运行devenv / resetuserdata

Hope It can help you.

希望它可以帮到你。

#7


1  

Disable updating intelliSense like in this article: http://amastaneh.blogspot.com/2007/11/disable-updating-intellisense.html Eventhough for old version seems to work for me.

禁用像本文中那样更新intelliSense:http://amastaneh.blogspot.com/2007/11/disable-updating-intellisense.html尽管旧版本似乎对我有用。

#8


0  

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资源重置为“新鲜”状态。