Visual Studio Multi-Project Template Customization

  • Thread starter Thread starter NA999
  • Start date Start date
N

NA999

Guest
I am writing a multi-project template and I would like to customize it as described below.

When project templates are used, the solution file (*.sln) is typically placed in the directory specified by the user in the 'New Project' dialog. I would like to override this behavior and place the solution file one level lower, e.g. in a directory named 'Source'. For example, if the directory specified in the dialog is 'D:\Dev\MyCustomSolution', I would like the solution file, and project directories, placed in 'D:\Dev\MyCustomSolution\Source'. I want to use this feature with a multi-project template that contains projects (*.csproj) and other files, e.g. configuration, executable, etc. Some of these other files need to be placed in the specified directory, e.g. 'D:\Dev\MyCustomSolution', rather than 'D:\Dev\MyCustomSolution\Source'.

Continue reading...
 
Back
Top