Ajay
Ajay

Reputation: 261

VisualStudio 2010 Freeze after each build

I Recently I installed VS2010 on my desktop. Everything was fine 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 ??

Upvotes: 9

Views: 5176

Answers (3)

Ajay
Ajay

Reputation: 261

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

Upvotes: 14

chris
chris

Reputation: 37460

Install procmon, and see what's happening. Do you have anti-virus running? Does the problem go away if you disable it?

Upvotes: 3

Will Dean
Will Dean

Reputation: 39500

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.

Upvotes: 0

Related Questions