is it possible to create a multi-project template that references n number of existing projects and one new project?
The situation: I need to create about 40+ solutions that all reference 3 projects and have one project that is unique to each one. I'd like to create a multi-project template that does this, but from what I've read it looks like it's very difficult or impossible (related SO question, but doesn't answer开发者_如何学Go).
I want my solution to look like this (names changed of course): These three are used by all solutions created under this "family":
- MyCompany.Extensions
- MyCompany.MyProject.Tests.Shared
- MyCompany.MyProject.Scripts
This one is the one that makes the solution unique, 123, 124, 125 etc:
- MyCompany.MyProject.Tests.Unit123
Is it possible to set up a multi-project template that will generate this structure?
References: MSDN Create Multi Project Templates
Solution files are pretty simple text files. Open one with Notepad to have a look-see. You could easily write a little program that generates them.
精彩评论