Building release from the command line:
dotnet build -c Release /p:SourceLinkCreate=true /p:VersionSuffix= /p:OfficialBuild=true
Creating packages from command line:
dotnet pack -c Release /p:SourceLinkCreate=true /p:VersionSuffix= /p:OfficialBuild=true
Add local package as nuget install sources
nuget sources add -name BionicMonitor -source $PWD/BionicMonitor/nupkg
nuget sources add -name BionicMonitorService -source $PWD/BionicMonitorService/nupkg
Install or upgrade local Bionic Monitor version using latest package:
dotnet tool install -g BionicMonitor --add-source ./nupkg
dotnet tool update -g BionicMonitor --add-source ./nupkg
dotnet ./bin/Debug/netcoreapp2.1/BionicMonitor.dll -v
dotnet ./bin/Release/netcoreapp2.1/BionicMonitor.dll -v