mirror of https://github.com/icsharpcode/ILSpy.git
1 changed files with 2 additions and 13 deletions
@ -1,13 +1,2 @@ |
|||||||
@setlocal enabledelayedexpansion |
dotnet clean ILSpy.sln /p:Configuration=Debug "/p:Platform=Any CPU" %* || pause |
||||||
@set MSBUILD= |
dotnet clean ILSpy.sln /p:Configuration=Release "/p:Platform=Any CPU" %* || pause |
||||||
@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 |
|
||||||
Loading…
Reference in new issue