Skip to content

bnaya-payoneer/BnayaPayoneer.Dotnet.Template

 
 

Repository files navigation

Setup

  • Replace TEMPLATE_NAME, TEMPLATE_SHORT_NAME,PROJECT_DEFAULT_NAME, GIT_HUB_USER, AUTOR, TEMPLATE_TITLE with the name of your template
    • Bnaya.Dotnet.Template.csproj
    • templates/Skeleton/template.json
  • Replace AUTOR with the name of your template (templates/Skeleton/template.json)
  • Take a look at the license and change it if needed

Creating a custom .NET CLI template

NuGet

# dotnet build --force
dotnet pack -c Release --force -o .
# dotnet new install . 
dotnet new install TEMPLATE_NAME
dotnet new TEMPLATE_SHORT_NAME -h
dotnet new TEMPLATE_SHORT_NAME -n {name-of-the-project}
# dotnet new uninstall {name-of-the-project}
# dotnet new uninstall .
dotnet new uninstall TEMPLATE_NAME

CLI

dotnet new TEMPLATE_SHORT_NAME -n Company.HelloWorld

Attribution

Icon

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%