A template for a dotnet package.
This is for my own use, but feel free to use it if it helps you. The CI workflow uses a shared workflow of mine from another repo, it might change without notice.
- .NET 7 + C# 11 + NRTs (nullable reference types) + ImplicitUsings
- SourceLink to pack pdb symbol packages
- GitHub CI action to build, test, and release
You can use the prepare.ps1 script to bulk rename/replace "template-dotnet-package" to the repo folder name:
./prepare
Manual checklist:
- Replace "template-dotnet-package" in file and file names with your repo name
- Update LICENSE.txt
- Replace "Mohammad Rahhal"
- Add
NUGET_TOKEN
GitHub secret for CI (can be created from here)