Visual Studio Solution Template - Link Source Control Projects

My team creates some standard VS solution templates. We have a clearly defined project structure, resources, etc. Which we need to use every time we start a new project, and this is an ideal solution. The basics work well.

However, like defining the structure of folders (etc.), it would be nice to be able to import a number of projects from VSS / TFS. We have several common assemblies that will be used by all projects, and it would be great to add a link to these projects when creating a new project through our template. Can someone tell me if this is possible, and if so, how can this be achieved?

+5
source share
1 answer

I think there are 3 types of elements that you might want to plan (is this a word?).

  • New solution
  • New project added to solution
  • New item added to the project.

I am not sure if it is possible to add existing projects to the solution created when the project template was launched. http://msdn.microsoft.com/en-us/library/ms185308.aspx shows how to create multiple project templates. You may need to manually add them to the solution or create a script that modifies the .sln file to execute this part.

. , .vstemplate . . http://msdn.microsoft.com/en-us/library/ms171405.aspx .

, . . http://msdn.microsoft.com/en-us/library/ms185290.aspx.

!

0

All Articles