Status: Current. How-to guide for maintainers.
This guide covers building, testing and packing the solution, and how a release reaches
nuget.org. task wraps the dotnet commands; without it, dotnet build src/Documents.slnx and
dotnet test src/Allors.Documents.Tests do the same work.
Prerequisites: .NET SDK 10.0 and Task.
taskortask ci— build, test and packtask test— build and run teststask pack— create the NuGet packages inartifacts/nugettask clean— clean build outputs
Versioning is handled by Nerdbank.GitVersioning (version.json).
Release
Section titled “Release”Pushing a tag vX.Y.Z or vX.Y.Z-rc.N runs release.yml: it builds, tests and packs, publishes both packages to nuget.org through trusted publishing from the nuget-release environment, and creates a GitHub release. The package version comes from version.json, so set it to the tag’s version before tagging.