Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 1.81 KB

README.md

File metadata and controls

54 lines (41 loc) · 1.81 KB

NuGet Package Template Repository

A template repository for NuGet packages.

Add this to the repo description when creating it: (", " is special)

ProjectName: MyAwesomeProject.Api,
Prefix: Meeee,
Namespace: MyAwesomeProject,
Description: This project is really awesome!,
Tags: Awesomeness; Project; 1000,
Package: Optional.Package.ToReference

Prefix is merged with ProjectName where needed, like for the package name.

NUGET_ORG_API_KEY needs to be added as a secret for the nuget.org environment.

The repo description must be manually changed afterwards since the workflow doesn't have permission to change it for you.

Contains

root/
├─ .github/
│  ├─ workflows/
│  │  ├─ codeql-analysis.yml
│  │  ├─ dotnet.yml
│  ├─ dependabot.yml
├─ ProjectName/
│  ├─ ProjectName.csproj
│  ├─ Class1.cs
├─ ProjectName.Tests/
│  ├─ ProjectName.Tests.csproj
│  ├─ TestClass1.cs
├─ .gitignore
├─ LICENSE    
├─ ProjectName.sln
├─ ProjectName.png
├─ README.md
├─ SECURITY.md

Thanks

Thanks to Liam Gulliver for his great tutorial.