Eddie Garmon's Weblog

some architecture, some c#

More Visual Studio Templates (with Installer)

Due to feedback from local sources, I am urged to share my most common Visual Studio Templates.  Packaged in a MSI installer for both VS 2002 and VS 2003 are the following templates:

  • a class template
  • an enumeration template
  • an exception template
  • a nunit test template
  • a registry template
  • a typed collection template
  • a typed hashed collection template

Points of note: When creating a typed collection, or a typed hashed collection, name the class as %Type%Collection. For example, a typed collection of 'Orange' should be 'OrangeCollection' and a typed hashed collection of 'Apple' should be 'AppleCollection'. None of the other templates have any naming restrictions.

Get the installer here.

If you have ideas for other templates, please let me know and I will see about including them.

Update: These templates are in C# only at the moment. They are Project ITEM templates, not project templates, and are accessable via the Add>Add New Item context menu of the solution explorer, or the File>Add New Item menu.

Update 2: Updated typed collection to support design time environment, plus other fixes. version at link is to 1.1.0.

Comments

Ian Walker said:

If you are a bit slow (like me) the following might help:

(It helps to realise that these are not project templates).

After install, (and from within an existing project) select (from the projects context menu) the Add->Add New Item option, then open up the SynapticPop folder to see the templates.
# February 8, 2005 5:40 AM

TrackBack said:

# February 8, 2005 1:15 PM

TrackBack said:

# February 8, 2005 1:40 PM

TrackBack said:

# February 8, 2005 2:00 PM

TrackBack said:

# February 9, 2005 3:28 AM

TrackBack said:

http://larkware.com/dg2/thedailygrind555.html
# February 9, 2005 9:46 AM

Visual Studio Templates | devintelligence.com said:

Pingback from  Visual Studio Templates | devintelligence.com

# July 20, 2008 10:44 AM

Buspar effects. said:

Buspar side effects.

# November 7, 2008 5:19 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)