dotnet new console template with Microsoft.Extensions packages
if you want to get detailed instructions about dotnet new template, see https://docs.microsoft.com/en-us/dotnet/core/tutorials/create-custom-template
run the following command
powershell(or pwsh) ./createnupkg.ps1
then you get pkg/*.nupkg
run the following command
dotnet new -i ./pkg/[nupkgfilename]
run the following command
dotnet new [templateshortname] --name [yourprojectname]
dotnet new -u [template id]
IDs are here;
- Itn.CakeBuildTemplate
- Itn.MsExtConsoleTemplate.CSharp
- Itn.NewClassTemplate.CSharp
- Itn.MsMLIrisTemplate.CSharp
- Itn.BDNTemplate.CSharp
following templates are published in nuget.org.