/DotnetTemplates

A repository for my dotnet templates

Primary LanguageC#MIT LicenseMIT

Dotnet Templates

The repository contains a set of opinionated dotnet new templates. I am happy to receive critique/feedback on the existing templates, so feel free to open issues.

Installing

Use dotnet new install to install the templates.

dotnet new install Keboo.Dotnet.Templates

Updating

If you have previously installed the templates and want to install the latest version, you can use dotnet new update to update your installed templates.

dotnet new update

Uninstalling

dotnet new uninstall Keboo.Dotnet.Templates

Included Templates

Local testing

Build the template package:

dotnet pack --configuration Release -o .

Install the locally built template package

dotnet new install . --force

You can now test the template by running:

dotnet new keboo.wpf
dotnet build
dotent test --no-build
dotnet publish --no-build

When done, you can remove the local install of the template package by running:

dotnet new uninstall .