Is there a way to have Visual Studio 2008 automatically add heading information to files? For example, "Copyright 2008" or something along those lines. I've been digging through the options, but nothing seems to be jumping out at me.
+4
A:
I assume you'd like to modify the class file templates. They're in:
%ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\CSharp\Code\1033
TheSoftwareJedi
2008-09-29 00:06:36
Not exactly what I was looking for, but looks to be very useful for the future. Thanks!
Ben Robbins
2008-09-29 00:21:43
What exactly are you looking for?
TheSoftwareJedi
2008-09-29 00:52:11
My question was phrased poorly. I want to retroactively add the information to existing files, but the project isn't so huge that I can't do it manually. I'll make a code snippet that adds the header text I want. I assumed there was a per-solution setting I could specify.
Ben Robbins
2008-09-29 01:28:14
+1
A:
I found a better solution than modifying the template file directly. This utility allows you to create and save header/footer templates and apply them to entire source trees.
C# Header Designer from MSDN Code Gallery
Ben Robbins
2009-02-08 18:12:58