Visual Studio’s project templates enable you, the developer, to create multiple similar projects more efficiently by defining a common set of starter files. The project templates can be fully customized to meet the needs of a development team, or a group, and can be published to the Visual Studio Marketplace for others to download and use too! Once published, developers can install and access the template through Visual Studio’s New Project Dialog.
The newly designed New Project Dialog for Visual Studio 2019 was built to help developers get to their code faster. Using a search and filter focused experience, we are aiming to provide better discoverability for specific templates to start your application development
In this walkthrough, you will learn to
Before getting started, please make sure you have installed Visual Studio 2019 with Visual Studio SDK.
There are a few ways you can create a project template, but in this walkthrough, we will create a C# project template using the New Project Dialog.
Once you’ve created a project template, you can add tags or filters to it in the template’s .vstemplate XML file.
1. Add Visual Studio’s built-in tags as well as any custom tags to your project template using LanguageTag, PlatformTag, ProjectTypeTag elements under TemplateData and save the file. For example, as highlighted below:
Wrap your project template in a VSIX project template to deploy your template as an extension.
That’s it! Your new project template will appear in the New Project dialog with the tags under your template’s description and filters enabled by those tags. You can also take it a step further and easily publish your project template to the Visual Studio Marketplace (and while you’re at it, also try out the little great things about Visual Studio 2019 and please let us know what you think)! Here is an example of one in an existing extension, Textmate Grammar Template.
We are continuing to work on our tools and to do that, we could use your help! Please share your feedback/comments below, or through the Visual Studio Developer Community, or tweet at our team @VisualStudio.
Program Manager, Visual Studio Platform
К сожалению, не доступен сервер mySQL