Tuesday, August 02, 2005

VS2005B2 Woes -- an Ugly Fix

I've been having ongoing problems with my VS2005B2 losing its mind. The keyboard will stop working, it won't launch, etc. etc. What seems to fix the problem, temporarily, is to delete the entire profile folder under Application Data\Microsoft\VisualStudio\8.0 in your home directory. That sucks because you lose your window settings and some other layout stuff and it's a PITA to reload that every time. It's not quite so much a PITA if you save a copy of that folder off somewhere immediately after entering a new VS2005B2 session. You can then use a batch file to delete the corrupted profile folder and copy a fresh one back over, like so: rmdir /s /q "C:\Documents and Settings\Jim Admin\Application Data\Microsoft\VisualStudio\8.0\" xcopy /s /e "C:\Documents and Settings\Jim Admin\My Documents\VS 8.0 Backup Settings" "C:\Documents and Settings\Jim Admin\Application Data\Microsoft\VisualStudio\8.0\" Note the trailing slash on the target folder -- saves a prompt asking if the target's a folder or file. This all goes pretty quickly, especially if you're using SlickRun for quickly launching such utils.

No comments:

Subscribe (RSS)

The Leadership Journey