This repository contains templates for Elborai Software .NET projects.
To install a template, such as elboraisoftware
, use the following command:
PS> dotnet new --install https://github.com/ElboraiSoftware/SharedBuildProps/main/elboraisoftware
After installation, create new .NET solutions/projects with:
PS> dotnet new elboraisoftware -n MyCoolProject
The template supports the following options:
--useElboraiPackages
: Include Elborai Software's private GitHub Packages source in the nuget.config file.
Example usage with options:
dotnet new elboraisoftware -n MyCoolProject --useElboraiPackages true
src/
: Contains the source code projectstests/
: Contains the test projects.github/workflows/
: GitHub workflows.editorconfig
: Editor configuration file.gitignore
: A complete gitignore ruleset for Visual Studio projectsDirectory.Build.props
: Common build properties, ensure common assembly authorship informationLICENSE.txt
: A "Free use, No derivatives" licensenuget.config
: NuGet configurationREADME.md
: Project readme file<The templated name>.sln
: Solution file<The templated name>.sln.DotSettings
: ReSharper/Rider settings file
PS> dotnet nuget add source --username "<USERNAME>" --password "<PERSONAL_ACCESS_TOKEN>" --configfile ./nuget.config