You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains a collection of .NET Template Packages, which can be used from IDEs such as Visual Studio and from the .NET CLI using dotnet new. They are also used by Initializr.
This repository contains a collection of .NET Template Packages,
which can be used from IDEs such as Visual Studio and from the .NET CLI using dotnet new. They are also used by Initializr.
Project templates:
steeltoe-webapi: Add Steeltoe components to the default webapi C# template.
This document describes template installation and template general usage help.
For learning how to develop additional options for the templates, see DEVELOPER.md.
Install
From NuGet.org (production)
$ dotnet new install Steeltoe.NetCoreTool.Templates
When searching for occurrences of options, Visual Studio doesn't show everything by default. Change the File types from !*\bin\*;!*\obj\*;!*\.*\* to !*\bin\*;!*\obj\* to fix this.
If you've added a new option to template.json, dotnetcli.host.json and ide.host.json, but it doesn't appear, make sure it is listed in one of the HasAny* computed options in template.json.
To observe changes in Visual Studio's File > New > Project dialog, close all instances and run devenv.exe /updateconfiguration.
Unit tests are available for all options (CLI only), be sure to update them.
To verify all relevant options are exposed, temporarily add "defaultSymbolVisibility": true to ide.host.json.
This repository contains a collection of .NET Template Packages, which can be used from IDEs such as Visual Studio and from the .NET CLI using dotnet new. They are also used by Initializr.