Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 1.18 KB

File metadata and controls

34 lines (19 loc) · 1.18 KB

Build and Package a release build with a release version

pack[.sh|cmd] -r -b -p -u

Build

dotnet build -c [Debug|Release] or build[.sh|cmd] -[r|d]

Build and test a debug build

dotnet test -c Debug or test[.sh|cmd] -b -d

Build and test a release build

dotnet test or test[.sh|cmd] -b

Test an existing build

dotnet test --no-build -c [Debug|Release] or test[.sh|cmd] -[r|d]

Package an existing build (nuget)

dotnet pack --no-restore --no-build -c [Debug|Release] or pack[.sh|cmd] -[r|d]

Where are the built artifacts?

Nuget packages are in build/nuget. Binaries for each project are in build/bin for the main projects, build/Samples/bin for the samples, and build/bin/tests for the tests.

How to bump the major or minor parts of the version

The version.json file in the root of the repo controls the version for all packages. Set the major and/or minor number in it and commit the change so that the next build uses the new version. The patch part of the version is the height of the commit tree since the last manual change of the version.json file, so once you commit a change to the major or minor parts, the patch will reset back to 0.