Visual Studio hangs while saving files
If you are experiencing slowness with saving files in VS2005, it may be related to opening files/projects stored an network locations.
In any ASP.Net project, saving (or auto-recover) stalls Visual Studio for around 1 minute. I’ve had to disable Auto-Recover to prevent being stalled for a minute in the middle of a thought, and fixing simple “ forgot a ; “ errors is incredibly tedious because the change must take a minute (though I did find that even though VS is frozen, I can load the page and the changes were made.)
This is not specific to the project, as I can open these sites on other systems and saving is fast and immediate. I have already tried repairing VS2005, but to no effect.
Does anyone have any ideas on how I can fix this? I’m frustrated enough to nuke the OS, but I have a feeling this will happen again, the problem has already spread to another system (possibly due to Roam Profiles).
The temporary workaround (I believe this is fixed in the upcoming service pack) is to use regedit to delete the network share locations from
If you are using the Express Editions of Visual Studio (e.g. Visual Basic Express, Visual C# Express) and having this issue you can follow almost the same steps, but you will need to change the VisualStudio part of the registry path to e.g. VBExpress, or VCSExpress.
As always, these locations are implementation details, and subject to the delightfully playful whims of the owner of the code. Don't depend on for anything.
Hope this helps, cheers!