Creating New File Templates in VS 2005

03/29/08

Permalink 06:56:28 pm, by truewill Email , 81 words, 327 views   English (US)
Categories: Tips

Creating New File Templates in VS 2005

Creating project and item templates in Visual Studio is reasonably well documented. It’s also possible to create New File templates. These are the ones that show up when you choose File/New/File.

Creating these is simple; just copy your file to:
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\NewFileItems\

After that, restart Visual Studio. That’s it!

For example, I created a file named NAnt.build with an NAnt skeleton (including the proper namespace for IntelliSense) and copied it here.

Comments, Pingbacks:

No Comments/Pingbacks for this post yet...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))
The name truewill is composed of two other words. What is the SECOND word?

Development Central

Development Central is the blog of Bill Sorensen, a professional software developer. Much of this will relate to C#, .NET, and OOP in general.

Disclaimer
These postings are provided "AS IS" with no warranties and confer no rights.

Search

Categories

Linkblog

b2evolution

contributors

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 1

powered by b2evolution free blog software