This folder contains samples of templates done for template engine.
These templates are supported by dotnet new
and Visual Studio.
For details, on how to configure the templates to be used in Visual Studio, refer to this article.
The other examples of complex templates can be found in Microsoft.TemplateEngine.TestTemplates and SDK.TestTemplates repositories.
For more general info on the authoring, see:
We would love community contributions here. Please feel free to open the PRs to add more examples or create an issue requesting a new example.
See CONTRIBUTING.md for information on contributing to this project.
.NET default templates are located in several repositories. You can use them as examples of more complicated templates.
The templates are located in the following repositories:
Templates | Repository |
---|---|
Common project and item templates | dotnet/sdk |
ASP.NET and Blazor templates | dotnet/aspnetcore |
ASP.NET Single Page Application templates | dotnet/spa-templates |
WPF templates | dotnet/wpf |
Windows Forms templates | dotnet/winforms |
Test templates | dotnet/test-templates |
MAUI templates | dotnet/maui |