Friday, July 28, 2006

Visual Studio 2005 and ExpansionsXML.xml

In Visual Studio 2005, I started to notice excessive disk activity when I saved one or more files. So, I installed File Monitor from Sysinternals and I noticed that when I saved my files, that the monitor reported that a lot of operations were performed on a file called ExpansionsXML.xml in the C:\Documents and Settings\\Local Settings\Application Data\Microsoft\VisualStudio\8.0\1033 directory. This file is used to store code snippets, and I wasn't able to find a way to turn off the code snippets, so I I googled around for a bit, and I found a news posting that addressed the problem. So the temporary fix is to make the ExpansionsXML.xml file read-only. I did that and no more disk thrashing.

Comments:
Thanks. This was costing me so much time and the problem is now fixed.
 
Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?