Can I create a multi-project template that references a number of existing projects and one new project?

Situation: I need to create about 40+ solutions that all link to 3 projects and have one project unique to each. I would like to create a multi-project template that does this, but from what I've read, it looks like it is very difficult or impossible ( related SO question, but no answer ).

I want my solution to look like this (the names changed, of course): These three are used by all solutions created within this "family":

  • MyCompany.Extensions
  • MyCompany.MyProject.Tests.Shared
  • MyCompany.MyProject.Scripts

This is the one that makes the solution unique, 123, 124, 125, etc .:

  • MyCompany.MyProject.Tests.Unit123

Is it possible to create a multi-project template that will generate this structure?

Links: MSDN Create Multiple Project Templates

+2


a source to share


1 answer


Solution files are fairly simple text files. Open one with Notepad to view. You can easily write a small program that generates them.



+1


a source







All Articles