HCV–preparing for NuGet–part 7

Preparing a dll to be deployed to NuGet mneans to me:

1. XML documentation

2. Treat Warnings as errors

3. Adding sources to the nuget package

4. Versioning the package, adding description, licence and so on

5. Generating CD in artifacts

6. Deploying to NuGet

7. Adding Badge with Nuget and Licence to the readme

 

Where are the modifications:

  1. In the .csproj – adding description
  2. In the docker yaml – running dotnet pack
  3. In the batch file that run the docker – collecting pkg folder with nuget package
  4. In the CI yaml file for Github – collecting nuget package to the artifacts
  5. In the readme  – using badge from shields.io

 

The modifications are at https://github.com/ignatandrei/HealthCheckVersion/tree/DeployNuGet

HealthCheckVersion

Health Check for Version
 NameLink
1Idea and Githubhttp://msprogrammer.serviciipeweb.ro/2020/07/20/healthcheckversion-idea-part-1/
2Documentationhttp://msprogrammer.serviciipeweb.ro/2020/07/21/healthcheckversiondocumentation-part-2/
3Testshttp://msprogrammer.serviciipeweb.ro/2020/07/22/hcv-adding-testspart-3/
4Codehttp://msprogrammer.serviciipeweb.ro/2020/07/23/hcv-adding-codepart-4/
5Test Applicationhttp://msprogrammer.serviciipeweb.ro/2020/07/27/hcvadding-test-applicationpart-5/
6CIhttp://msprogrammer.serviciipeweb.ro/2020/07/28/hcvautomatic-cipart-6/
7NuGethttp://msprogrammer.serviciipeweb.ro/2020/07/29/hcvpreparing-for-nugetpart-7/
8PostMortemhttp://msprogrammer.serviciipeweb.ro/2020/07/30/hcv-postmortempart-8/