Creating a solution template in visual studio 2010




















Yes, looks to me that this ought to be a good start for projects. Bummer on the crummy docs. The start kits were project templates afaik. Maxim Maxim 7, 1 1 gold badge 30 30 silver badges 44 44 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.

Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Linked 1. Related Hot Network Questions.

Individual projects in a multi-project template cannot be assigned names when the template is used to create a new project. Instead, use the ProjectName attribute on the ProjectTemplateLink element in the vstemplate file to specify a name for each project. Multi-project templates can contain projects for different languages, but the entire template itself can only be put in one category.

Specify the template category in the ProjectType element of the vstemplate file. A root vstemplate file for the entire multi-project template.

This root vstemplate file contains metadata that's displayed in the dialog box where you create a new project. It also specifies where to find the vstemplate files for the projects in the template. This file must be located at the root of the. Two or more folders that contain the files that are required for a complete project template. The folders include all code files for the project, and also a vstemplate file for the project.

For example, a multi-project template. The root vstemplate file for a multi-project template differs from a single-project template in the following ways:. For example:. The TemplateContent element contains a ProjectCollection element that has one or more ProjectTemplateLink elements that define the paths to the vstemplate files of the included projects.

If you only want the multi-project template to appear in the new project dialog box and not the individual projects it contains, mark the inner templates as hidden. Select one of the projects that you want to export to a template, and then choose Next. You'll repeat these steps for each project in the solution. After I made an export I want to use the template. When I chose the template the project is made but I always have problems with installed references and nugetpackages that are included.

Can some one help me out with it? Thanks a lot. You are commenting using your WordPress. You are commenting using your Google account. You are commenting using your Twitter account. You are commenting using your Facebook account. Notify me of new comments via email.

Notify me of new posts via email. RSS - Posts. RSS - Comments. Enter your email address to subscribe to this blog and receive notifications of new posts by email. Email Address:. Sign me up! Create a free website or blog at WordPress. Just another WordPress. Home About Blog Series Contact. I did find a nice extension that allows you to do this though. Normally the namespace would be the same name as what you had entered into the Add New Project dialog.



0コメント

  • 1000 / 1000