mikaeldui / nupkg-template

A template repo for NuGet packages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:The Unlicense


Languages

Language:C# 100.0%