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
497 B
13 lines
497 B
@setlocal enabledelayedexpansion
|
|
@set MSBUILD=
|
|
@for /D %%M in ("%ProgramFiles%\Microsoft Visual Studio\2022"\*) do (
|
|
@if exist "%%M\MSBuild\Current\Bin\MSBuild.exe" (
|
|
@set "MSBUILD=%%M\MSBuild\Current\Bin\MSBuild.exe"
|
|
)
|
|
)
|
|
@if "%MSBUILD%" == "" (
|
|
@echo Could not find VS2022 MSBuild
|
|
@exit /b 1
|
|
)
|
|
"%MSBUILD%" /m ILSpy.sln /t:Clean /p:Configuration=Debug "/p:Platform=Any CPU" || pause
|
|
"%MSBUILD%" /m ILSpy.sln /t:Clean /p:Configuration=Release "/p:Platform=Any CPU" || pause
|