Extending project templates with advanced features
In this section, we will go further by creating what we can call a solution template by combining multiple project templates.
Creating a multi-project solution template in Visual Studio involves several steps, including creating individual project templates, combining them into a single solution template, and configuring the solution template to instantiate multiple projects upon creation. Let’s get started:
- First, create the templates that will be included in the solution template. For that, follow the instructions provided in the Building a basic project template section of this chapter.
- Next, prepare a directory structure for the solution template. This involves creating a folder for the solution template and copying the unzipped contents of each project template into this directory.
Figure 13.7 – Folder structure
- For this example, I created three project templates...