Visual Studio New File Templates
Per jberkhei’s reply on this forum post, here are the locations of the Visual Studio new file templates:
Visual Studio 9
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplatesCache\CSharp\Web\1033
Visual Studio 8
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplatesCache\Web\CSharp\1033
Editing these can easily allow you to setup little things that will save you time.
- Always change autoeventwireup to false? (FYI, you can also change this in the machine.config, or the web.config)
- Always remove the default method, and replace it with an overload of the OnLoad?
- Always need to add using directives for certain namespaces?
Then change the template!