Creating a solution template for visual studios - several projects

I am stuck in this tutorial to create a multi-project visual studio template. I am specifically stuck on this line:

Select the files and folders to include in your template, right-click the selection, click Send To, and then click Compressed (zipped) Folder. The files and folders are compressed into a .zip file.

I took the following steps:

  • Create 2 projects. (MyProj.Web and MyProj.Service)
  • MyProj.Service link in MyProj.Web.
  • Export both. Now they are in the .zip file.

What should I do?

My intentions are as follows: create folders of solutions in which some DLLs will be located (DI, unit testing modules, etc.). Ask these dlls to refer. Reference projects in other projects. Rename part of the projects. E.g. ability to replace {MyProj}.Service with NewName.Service

+7
source share
1 answer

Other parts include creating a .vstemplate xml file and placing a zip in ProjectTemplates.

Per article:

Place the .zip template file in the Visual Studio project template directory. By default, this directory is \ My Documents \ Visual Studio 2010 \ Templates \ ProjectTemplates \

Then the Visual Studio template will be available from File > New Project . If you are creating a template for a single item, place it in the \ ItemTemplates folder to make it accessible from the Add New Item context menu in Solution Explorer.

+2
source

All Articles