From ed4cf3ed59b8c23c76ba5bed40519dbc8c88d27e Mon Sep 17 00:00:00 2001 From: zeromus Date: Fri, 4 Dec 2020 15:40:43 -0500 Subject: [PATCH] quick test of using "dotnet build" instead of msbuild. since 'dotnet build' is more or less defined as extra logic on top of msbuild to make it work on dotnet projects. --- Dist/QuickTestBuildAndPackage.bat | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dist/QuickTestBuildAndPackage.bat b/Dist/QuickTestBuildAndPackage.bat index a888a2501c..6a3d129744 100644 --- a/Dist/QuickTestBuildAndPackage.bat +++ b/Dist/QuickTestBuildAndPackage.bat @@ -13,8 +13,11 @@ for /f "usebackq tokens=*" %%A in (`vswhere -version "[16.0,17.0)" -requires Mic IF "%MSBUILDPATH%"=="" GOTO MISSINGMSBUILD -nuget restore ..\BizHawk.sln -call "%MSBUILDPATH%" ..\BizHawk.sln "/p:Configuration=Release;Platform=Any CPU;MachineRunAnalyzersDuringBuild=true" /t:rebuild +rem nuget restore ..\BizHawk.sln +rem call "%MSBUILDPATH%" ..\BizHawk.sln "/p:Configuration=Release;Platform=Any CPU;MachineRunAnalyzersDuringBuild=true" /t:rebuild +dotnet build ..\BizHawk.sln -c Release --no-incremental +rem -p:Platform="Any CPU" +rem -p:MachineRunAnalyzersDuringBuild=true @if errorlevel 1 goto MSBUILDFAILED