views:

483

answers:

2

This might sound a bit of an odd question but I know what I want to achieve, just don't know if it's possible.

Firstly, I'd like to be able to create a visual studio project that the 2 developers that work with me can use as a basis for all new websites. I want to drop all the common files that we use in there, like jQuery, CMS files etc. so that every time they start a new project they don't have to worry about all of that stuff. I guess to do this I just set up a project and "File > Export Template" ?

Now, here's the tricky bit...

When you open up one of the default templates in VS it asks you a few questions, such as if you want to use a master page or if you want to use code behind etc.

What I would like to do is set up something similar so that when you use the project template it asks you what version of jQuery you want to use so that it can import the right file, or for example it might ask you if you want to include certain user controls that the CMS contains. If you tick the box then the folder with the necessary user controls would be put in your new project for you.

I know MS can do this but can a user like me include functionality like that in my own project template?

Hope that makes sense.

A: 

http://www.bing.com/search?q=create+%22visual+studio%22+%22project+template%22

Cheeso
Erm, I'm not sure if that response was supposed to be sarcastic but I know how to use a search engine, thanks. I've already read some of those articles but haven't found any reference to being able to load files conditionally.
jonhobbs
No, it wasn't sarcastic. You didn't say that you had searched and found no joy. You didn't say that you knew how to make a custom project template. those links show how to do those things. Sorry you didn't find it to be helpful.
Cheeso
Sorry, I thought you were giving me the standard "just Google it" response because you thought I was being lazy.I just tried to remove my downvote from your answer but it says it's too old to change. Sorry.
jonhobbs
+2  A: 

Some more digging turned up the iWizard interface and this tutorial...

http://msdn.microsoft.com/en-us/library/ms185301

jonhobbs