How can I add my own folders to Visual Studio.Net Templates?

  • Thread starter Thread starter Kamau
  • Start date Start date
K

Kamau

I have been charged with creating customized visual studio project
templates for our organization. I have been successful to a point. I
would like to add folders to the project template and I have not been
able to do so. For example, I would like the directory structure to
look similar to the following:

ProjectName
|-DataLayer <custom folder>
|-BusinessLayer <custom folder>
|-Images <custom folder>
|-class1.vb
|-styles1.css
|-etc.......

Hoe can I make sure that the DataLayer and BusinessLayer folders are
created with the template? Any help would be welcome.

Thanks!
 
This is exactly what a new enterprise template should do for you.
Unfortunately the tool support is a bit lacking, and there is a fair bit of
manual editing and copying to do after creating a new ET project with the
appropriate structure.

Try this walkthrough, it should provide you with the necessary information.
You can skip most of the stuff relating to policy if all you are interested
in is solution structure.
http://msdn.microsoft.com/library/d...kwalkthroughcreatingnewenterprisetemplate.asp

The following article goes a lot further - maybe useful for
inspiration/ideas:
http://msdn.microsoft.com/library/d...mplatesbuildingapplicationconstructionkit.asp
 
Back
Top