I Recently I installed VS2010 on my desktop. Everything was fine 开发者_JAVA技巧until I started noticing that after each build my computer freezes up(for almost 2-5 minutes). I removed all the extensions and tried still no luck.
Any suggestions ??
Actually during each build, I could see ExpansionsXML.xml file is being processed again and again.
I found a Microsoft support article (support.microsoft.com/kb/956549) that has resolved my issue.
What I did:
- Delete the file
C:\Users\<username>\AppData\Local\Microsoft\VisualStudio\10.0\1033\ExpansionsXML.xml
- Go to the registry and delete the following key:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Languages\CodeExpansions
- Restart the IDE
I will update more if I see same issue
Install procmon, and see what's happening. Do you have anti-virus running? Does the problem go away if you disable it?
Have you tried starting devenv with the /ResetSettings option?
For spurious waits of a few seconds, I might also look for things like failing network accesses - perhaps with Wireshark and/or Procmon.
The install for VS2010 isn't actual too bad, so an uninstall/reinstall isn't the kind of misery it has been in recent earlier versions.
精彩评论