Notes for creating and updating the nuget package
To create the NuGet package:
- Update the Configgy.nuspec as necessary
- Pay special attention to the 'releaseNotes' element
- Leave all the variables (the things inside
$dollar signs$ ) alone - they are populated from metadata in AssemblyInfo.cs
- Update the version numbers in AssemblyInfo.cs
- Create the package
- Open a command line
- CD to the solution directory
- Run:
nuget.bat
- Upload the package to https://www.nuget.org/packages/upload
- Nuget will include the
AssemblyInformationalVersionif it exists, but will ignore it if it includes a SemVer build version as part of the prerelease identifier- This is allowed: 1.0.0-alpha1
- But this is not: 1.0.0-alpha.1