Create a reusable project and solution structure

I am in the middle of preparing the entire infrastructure for the .NET application in Visual Studio, which contains about 17 projects in the solution. This includes global enumerations, shared resource files, interfaces, general exceptions, etc. I'm not in the place where I write code specific to the application itself.

At this point, I would like to freeze the image of the solution structure and make it reusable. In my next project, I would like to start with the structure where I am now.

How to do this with Visual Studio? Is it better to just copy the structure using Windows Explorer or make T4 templates for this? Or is there an easier way with Visual Studio? I am currently using Visual Studio 2013.

+3
source share
2 answers

Yes, you can link your solution and reuse it when creating a new solution containing several projects. I am doing it now.

Essentially, the approach is to create a solution template (very similar to a project template). A project template (a separate template) can be created from vs .net by exporting a "project template". The project template creates a zip file that you distribute and place in the appropriate directory on your workstation, which will be available the next time you start a new project. (you can refer to http://msdn.microsoft.com/en-us/library/vstudio/s365byhx(v=vs.100).aspx ) for more information on project / element templates.

, . vs .net " ". .

msdn

, vs .net /. .

0

.

. , , , .

from

Visual Studio , , .

Visual Studio

+3

All Articles