I've successfully created a multi-project solution template. What I would like to do, however, is to rename the beginning of each project with the name of the solution.
So my projects:
- ProjectOne.A
- ProjectTwo.B
Would be renamed to
- SolutionName.A
- SolutionName.B
where SolutionName
is the name by the user when they created the project.
I've read the following articles:
- http://msdn.microsoft.com/en-us/library/ms185308.aspx
- http://msdn.microsoft.com/en-us/library/ms185311.aspx
- http://msdn.microsoft.com/en-us/library/ms247063.aspx
but none seem to answer my specific situation.
If your main
.vstemplate
(the solution's one) is like the example below, you can use variables defined in wizard's dictionary to rename project folders and.csproj
to whatever names you want.Use similar changes to addition .vstemplates (the projects' .vstemplates) to rename the .csproj files.