VS2010 Intellisense problems

回眸只為那壹抹淺笑 提交于 2019-12-21 21:45:28

问题


This question actually is an implicit answer, since I could fix the problem in the meantime for myself. But I wanted to publish my experience, since some other developers might have a similar problems.

The problem:

I am using VS2010 prof SP1 on Windows XP SP3, pure C++ only. (AntiVirus software present). Since some days Intellisense - which is quite helpful under normal conditions - does not work anymore.

Things tried:

  • created a new simple console application. -> Intellisense still not working.
  • resetting VS-Settings by means of Tools/Import & Export Settings/Reset. -> Intellisense still not working
  • Changes to option settings in Text-Editor/C++/Advanced inclusive logging did not help. -> Intellisense still not working

There was actually an interesting observation:

Intellisense normally creates a directory 'ipch' in the solution directory to store intermediate files. In my solution folders it disappeared as soon as the solution was opened. When I created a folder 'ipch' and opened the solution Intellisense removed the folder again - strange.

The final fix:

During the last week some new Windows updates were installed. I noticed some other unusual behaviour of my PC as well. After having created an image of my PC, I decided to uninstall Windows updates from 2013-09-11 (4 packages) and one update from 2013-08-28. (unfortunately I did not note down the KB-numbers)

AND: out of a sudden Intellisense is working again !

Maybe this report could be helpful for some other persons. Automatic Updates are now disabled on my PCs.


回答1:


Confirmed 100%

Microsoft Visual Studio 2010 Version 10.0.30319.1 RTMRel Microsoft NET framework 4.0.30319 RTMRel

Microsoft Windows XP Professional Version 2002 Service Pack 3

Intellisense stops working after installing KB2876217.

Intellisense is back after removing update.




回答2:


I had the same problem and also had the idea that one of the Windows Updates is buggy, so I can confirm your report.

I tried to uninstall them one-b<-one and found the "bad guy":

KB2876217 destroys intellisense for VS2010 under XP SP3.

A supported hotfix is available from Microsoft to fix this issue. Check at http://support.microsoft.com/kb/2526044/en-us




回答3:


Actually, it may not be such a good idea to uninstall update KB2876217. Instead, install Visual Studio SP1 update (if not already installed) and then install update KB2526044. I have tried it before and it does work...



来源:https://stackoverflow.com/questions/18798270/vs2010-intellisense-problems

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!