David
David

Reputation: 3157

Create Visual Studio (vs.net) 2008 Solution Templates?

Is it possible to create vs.net 2008 solution templates. From my search results it is not possible to create a solution templates with all the respective project references.

I have a vs.net solution with multiple projects and references in each. I would like to wrap all of them up into a template where I can use as standard base start for our web projects.

Has anyone come up with good solution for this?

Upvotes: 7

Views: 759

Answers (5)

Ralph
Ralph

Reputation: 1

I would like to say that at this point you might want to use a guidance package to build your solution.

Upvotes: 0

Tony Borf
Tony Borf

Reputation: 4660

What you want is to build a "Solution Template". The best way to do that is to use the Solution Factory add-in found in CodePlex.

http://solutionfactory.codeplex.com/

Edit: An even easier way would be to create the solution with all the projects in the same file location, then zip up all the directories into one file. Then just unzip and rename the solution directory as needed.

Edit2: Here is another way, Build an Add-in that will construct the solution for you. http://msdn.microsoft.com/en-us/vbasic/bb968855.aspx

Upvotes: 1

Chris Dunaway
Chris Dunaway

Reputation: 11216

Have you tried just setting your project the way you want it and then choose File -> Export Template? That would seem to be the simplest approach.

Upvotes: 0

Timothy Carter
Timothy Carter

Reputation: 15785

I'm not certain exactly how it works to get this fully functional, but in the vs template xml, you can define a ProjectCollection with many ProjectTemplateLink entries, so I believe using this you should be able to create the setup you're looking for. However, I haven't worked with templates enough to be able to give a working example.

Upvotes: 1

xtofl
xtofl

Reputation: 41519

There is something like a "Property Sheet" that you can inherit from in any new project. These sheets contain 'generic' settings that would apply to all your projects.

Upvotes: 0

Related Questions