This page is for contributors and cross-repo developers working on DevOp.Toon.Client alongside other TOON repositories.
dotnet restore
dotnet build
dotnet test
dotnet test --collect:"XPlat Code Coverage"
dotnet format
Debug builds can resolve sibling TOON repos from local project paths rather than NuGet packages.
| Variable | MSBuild property | Substitutes |
|---|---|---|
DEVOP_TOON_CSPROJ |
ToonProjectPath |
DevOp.Toon NuGet reference |
DEVOP_TOON_CORE_CSPROJ |
ToonCoreProjectPath |
DevOp.Toon.Core NuGet reference |
Example:
export DEVOP_TOON_CSPROJ=<path-to>/DevOp.Toon/src/DevOp.Toon/DevOp.Toon.csproj
export DEVOP_TOON_CORE_CSPROJ=<path-to>/DevOp.Toon.Core/DevOp.Toon.Core.csproj
dotnet build -c Debug
Or with MSBuild properties for a one-off build:
dotnet build -c Debug \
-p:ToonProjectPath=<path-to>/DevOp.Toon/src/DevOp.Toon/DevOp.Toon.csproj
The build resolves each dependency in this order:
Debug, use a ProjectReferenceRelease builds always use NuGet regardless of env vars. Do not hardcode paths.