diff --git a/run-build.ps1 b/run-build.ps1 index b2c3f4b8f..47bc812fb 100644 --- a/run-build.ps1 +++ b/run-build.ps1 @@ -71,10 +71,10 @@ $env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 if ($NoBuild) { Write-Host "Not building due to --nobuild" - Write-Host "Command that would be run: 'dotnet build3 build.proj /m /p:Architecture=$Architecture $ExtraParameters'" + Write-Host "Command that would be run: 'dotnet msbuild build.proj /m /p:Architecture=$Architecture $ExtraParameters'" } else { - dotnet build3 build.proj /m /p:Architecture=$Architecture $ExtraParameters + dotnet msbuild build.proj /m /p:Architecture=$Architecture $ExtraParameters if($LASTEXITCODE -ne 0) { throw "Failed to build" } } diff --git a/run-build.sh b/run-build.sh index 56823c636..9c45a9b2f 100755 --- a/run-build.sh +++ b/run-build.sh @@ -117,8 +117,8 @@ export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 echo "${args[@]}" if [ $BUILD -eq 1 ]; then - dotnet build3 build.proj /m /p:Architecture=$ARCHITECTURE "${args[@]}" + dotnet msbuild build.proj /m /p:Architecture=$ARCHITECTURE "${args[@]}" else echo "Not building due to --nobuild" - echo "Command that would be run is: 'dotnet build3 build.proj /m /p:Architecture=$ARCHITECTURE ${args[@]}'" + echo "Command that would be run is: 'dotnet msbuild build.proj /m /p:Architecture=$ARCHITECTURE ${args[@]}'" fi