Eddie Garmon's Weblog

some architecture, some c#

More Templates

Due to requests, I am making available my Collection Templates. There is one thing to note about this template. When you do a Project > Add Class, and choose Collection Class, the class must be named [Object]Collection (name must end in the word collection).



The template creates a generic collection with accessors and whatnot for a collection of type [Object] . In the example above, a collection of 'Book's would be generated. Enjoy.

Update: These templates are for VS.Net 2k3 and need to be edited for the origional release of VS.Net. Edited the .vsz file and change the line
Wizard=VSWiszrd.VSWizardEngine.7.1
to
Wizard=VSWiszrd.VSWizardEngine.7.0

This applies to my NUnit templates as well.

Comments

Adam Kinney said:

Wow, great job!

Definitley something of value there. Great display of creating a custom wizard, too. Neat.
# November 13, 2003 12:14 PM

Sean said:

I got errors trying to run this until I edited the .vsz file and changed the
Wizard=VSWiszrd.VSWizardEngine.7.1 line.

Removing the 7.1 portion worked for me. I'm using Ver. 7.0 of the ide....
# November 13, 2003 1:43 PM

Eddie Garmon said:

Sorry Sean, this is very true. I am currently only using VS.Net 2k3 and Whidbey, so any users working in the origional release of VS.Net will need to make these updates. This also applies to my NUnit templates.
# November 13, 2003 1:57 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)