For the purpose of this article I will add 2 basic new class library projects created by Visual Studio
Next step is to export the projects we want inside the solution as project templates, unzip them, then add them within the directory of our solution template. TemplateContent contains one Project Node – we will change this to a ProjectCollection and add ‘child’ project templates within the solution directoryĬreate Child Projects From Unzipped Project Templates.Type = Project – we will change this to ProjectGroup.This screenshot shows the default project created by Visual Studio along with its.
You may need Visual Studio Extensibility installed for Visual Studio This is the option in the new Project Menu in Visual Studio 2017. The project created by default will be for a solution with only one project, but we will subsequently modify its configuration to reference multiple projects The first step is creating a project template in Visual Studio. So let’s go through it Create Project Template Getting a solution template with more than 1 project required some learning so this article documents the process.
This gets me up and running quickly and provides various class libraries immediately to reduce coding effort I use a solution template in my Visual Studio extension containing 4 projects and a connection already configured for connecting and deploying to dynamics. This article details tasks to create a multi project solution template in Visual Studio