Packing the package
build.ps1 packs the package into build.out/. It runs in Windows PowerShell or PowerShell 7 (pwsh on macOS and Linux).
pwsh ./build.ps1The version is the <Version> in Our.Umbraco.TagHelpers/Our.Umbraco.TagHelpers.csproj. Pass -Version to override it:
pwsh ./build.ps1 -Version 2.1.0-rc1Trying a packed build in the demo site
Section titled “Trying a packed build in the demo site”Pack it with its own version, then run the demo site against it:
pwsh ./build.ps1 -Version 2.1.0-local.1dotnet run --project Our.Umbraco.TagHelpers.TestSite -p:TagHelpersSource=Package -p:TagHelpersPackageVersion=2.1.0-local.1Use a new version for each new build of the package, because NuGet caches packages by version.