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.
There's a cool tool for Visual Studio 2005 that allows you to copy ans paste code as
HTML. Very usefull when copying/pasting from Visual Studio into a blog entry.
You can get it here
7 public interface ISpecification
9 bool isSatisfiedBy(object candidate);
12 public class LogicalAnd : ISpecification
14 public bool isSatisfiedBy(object candidate)
16 throw new Exception("The method or operation is not implemented.");