If everything worked fine and then stopped, it usually means that some kind of problem arose, even if it went unnoticed.
Things I would try one after another:
- Check which files were changed (why and how) after updating from version control
- Browse the list of extensions and plugins. Try disabling all or some of them.
- Close Visual Studio and
devenv, mspdbsrv, vcpkgsrv, msbuild, msvsmon, vshub, vstest all development processes: devenv, mspdbsrv, vcpkgsrv, msbuild, msvsmon, vshub, vstest etc. - Delete the
.suo,.ncb,.VC.db,.VC.VC.opendb solution files .suo,.ncb,.VC.db,.VC.VC.opendb well as the .vc directory, which sometimes cause problems. - Delete the project settings files, for example,
YourProjectName.vcproj.DOMAINNAME.LOGINNAME.user or YourProjectName.csproj.user . The name of the settings file depends on the type of project you are using. - Run
"C:\Program Files\Microsoft Visual Studio [vs_version]\Common7\IDE\devenv.exe"/setup or "C:\Program Files (x86)\Microsoft Visual Studio [vs_version]\Common7\IDE\devenv.exe"/setup for x64 - In some difficult cases, this helps to remove user settings located in the home
%USERPROFILE%\AppData\[Local|Roaming]\Microsoft\VisualStudio[vs_version] and in the HKCU\SOFTWARE\Microsoft\VisualStudio[vs_version]
You should reset all things to their original state. If this does not work, then there are additional tools for investigation. Download Process Explorer and, as soon as the IDE freezes up, start Process Explorer, find the devenv process, double-click it and go to the Threads tab. Check which thread has the largest switch delta in case of freezing, double-click on it and take the name (or offset) of the top function. This gives additional information where the problem may be.
Moreover, sometimes it helps to restore Visual Studio in the Add or Remove Programs wizard in the control panel.
Anton K 03 Dec '09 at 6:51 2009-12-03 06:51
source share