Skip to content

mikaeldui/nupkg-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A template repo for NuGet packages

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages