To build the project:
dotnet build
To publish the CLI to a single executable file:
cd CRN.CLI
dotnet publish -r win-x64 -c Release -o publish -p:PublishReadyToRun=true -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true -p:IncludeNativeLibrariesForSelfExtract=true
Replace the -r
value with your runtime (see RID catalog)
You can now run the .exe
that was placed in the CRN.CLI\publish
folder.