From 601018d4bae8197a49f2e6644326d4270f059bed Mon Sep 17 00:00:00 2001 From: Aptivi CEO Date: Thu, 22 Aug 2024 18:21:57 +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 afbce43..be850dc 100644 --- a/tools/build.cmd +++ b/tools/build.cmd @@ -13,14 +13,14 @@ goto :finished :download echo Downloading packages... -"%ProgramFiles%\dotnet\dotnet.exe" restore "..\Nettify.sln" --configuration %releaseconfig% +"%ProgramFiles%\dotnet\dotnet.exe" restore "..\Nettify.sln" -p:Configuration=%releaseconfig% if %errorlevel% == 0 goto :build echo There was an error trying to download packages (%errorlevel%). goto :finished :build echo Building Nettify... -"%ProgramFiles%\dotnet\dotnet.exe" build "..\Nettify.sln" --configuration %releaseconfig% +"%ProgramFiles%\dotnet\dotnet.exe" build "..\Nettify.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 de2762d..da922f2 100644 --- a/tools/build.sh +++ b/tools/build.sh @@ -23,7 +23,7 @@ fi # Download packages echo Downloading packages... -"$dotnetpath" restore "../Nettify.sln" --configuration $releaseconf +"$dotnetpath" restore "../Nettify.sln" -p:Configuration=$releaseconf if [ ! $? == 0 ]; then echo Download failed. exit 1 @@ -31,7 +31,7 @@ fi # Build Nettify echo Building Nettify... -"$dotnetpath" build "../Nettify.sln" --configuration $releaseconf +"$dotnetpath" build "../Nettify.sln" -p:Configuration=$releaseconf if [ ! $? == 0 ]; then echo Build failed. exit 1