Creating Visual Studio solution templates (vs .net) 2008?

Is it possible to create solution templates vs .net 2008. From my search results it is impossible to create solution templates with all the relevant projects.

I have a vs .net solution with several projects and links in each. I would like to combine all of them into a template, where I can use it as a standard base start for our web projects.

Has anyone come up with a good solution for this?

+7
c # visual-studio asp.net-mvc
source share
5 answers

You want to create a "Solution Template". The best way to do this is to use the Solution Factory add-in found in CodePlex.

http://solutionfactory.codeplex.com/

Edit: It will be even easier to create a solution with all projects in the same file location, and then consolidate all directories into one file. Then simply unzip and rename the solution directory as needed.

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

+1
source share

I'm not sure exactly how this works to get it fully functional, but in the vs template you can define a ProjectCollection with many ProjectTemplateLink , so I believe that with this you can create the right setting. However, I did not work with templates to give a working example.

+1
source share

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

0
source share

Have you tried just setting up your project the way you want, and then choosing "File → Export Template"? This would seem to be the easiest approach.

0
source share

I would like to say that at this stage you can use the package of instructions to create your solution.

0
source share

All Articles