You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
502 B

  1. @setlocal enabledelayedexpansion
  2. @set MSBUILD=
  3. @for /D %%M in ("%ProgramFiles(x86)%\Microsoft Visual Studio\2019"\*) do (
  4. @if exist "%%M\MSBuild\Current\Bin\MSBuild.exe" (
  5. @set "MSBUILD=%%M\MSBuild\Current\Bin\MSBuild.exe"
  6. )
  7. )
  8. @if "%MSBUILD%" == "" (
  9. @echo Could not find VS2019 MSBuild
  10. @exit /b 1
  11. )
  12. "%MSBUILD%" /m ILSpy.sln /t:Clean /p:Configuration=Debug "/p:Platform=Any CPU" || pause
  13. "%MSBUILD%" /m ILSpy.sln /t:Clean /p:Configuration=Release "/p:Platform=Any CPU" || pause