Sunday, August 10, 2008

Modify Visual Studio 2005 templates

Whenever you create a new file in the visual studio, you are asking it to put a file as it is specified in its templates. The templates are located in
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplatesCache and for web development you need to look into the Web folder in there.
There are some handy parameters like $time$ and $user$ that you can see in the MSDN at Visual Studio Template Reference: http://msdn.microsoft.com/en-us/library/ms247064(VS.80).aspx

1 comment:

Pouya Panahy said...

I get the original files back to the cach folder over again. It appears that I need to update the files in the zip file and put them back in the zip again to make this change for ever on my machine:
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\CSharp\Code\1033\Class.zip\Class.cs