From 317cdcab87f84d335a1208c05505eebf0ff22719 Mon Sep 17 00:00:00 2001 From: Aptivi CEO Date: Thu, 22 Aug 2024 18:21:54 +0300 Subject: [PATCH] chg - Fixed msbuild arguments --- Type: chg Breaking: False Doc Required: False Backport Required: False Part: 1/1 --- tools/build.cmd | 4 ++-- tools/build.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/build.cmd b/tools/build.cmd index 0142ab5..e8e2b52 100644 --- a/tools/build.cmd +++ b/tools/build.cmd @@ -23,14 +23,14 @@ if "%releaseconfig%" == "" set releaseconfig=Release :download echo Downloading packages... -"%ProgramFiles%\dotnet\dotnet.exe" restore "..\ChemiStar.sln" --configuration %releaseconfig% +"%ProgramFiles%\dotnet\dotnet.exe" restore "..\ChemiStar.sln" -p:Configuration=%releaseconfig% if %errorlevel% == 0 goto :build echo There was an error trying to download packages (%errorlevel%). goto :finished :build echo Building ChemiStar... -"%ProgramFiles%\dotnet\dotnet.exe" build "..\ChemiStar.sln" --configuration %releaseconfig% +"%ProgramFiles%\dotnet\dotnet.exe" build "..\ChemiStar.sln" -p:Configuration=%releaseconfig% if %errorlevel% == 0 goto :success echo There was an error trying to build (%errorlevel%). goto :finished diff --git a/tools/build.sh b/tools/build.sh index f07ecf5..f9d437f 100644 --- a/tools/build.sh +++ b/tools/build.sh @@ -32,7 +32,7 @@ fi # Download packages echo Downloading packages... -"$dotnetpath" restore "../ChemiStar.sln" --configuration $releaseconf +"$dotnetpath" restore "../ChemiStar.sln" -p:Configuration=$releaseconf if [ ! $? == 0 ]; then echo Download failed. exit 1 @@ -40,7 +40,7 @@ fi # Build echo Building ChemiStar... -"$dotnetpath" build "../ChemiStar.sln" --configuration $releaseconf +"$dotnetpath" build "../ChemiStar.sln" -p:Configuration=$releaseconf if [ ! $? == 0 ]; then echo Build failed. exit 1