We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afcdcec commit 66c054aCopy full SHA for 66c054a
clean.bat
@@ -1,13 +1,2 @@
1
-@setlocal enabledelayedexpansion
2
-@set MSBUILD=
3
-@for /D %%M in ("%ProgramFiles%\Microsoft Visual Studio\2022"\*) 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 VS2022 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
+dotnet clean ILSpy.sln /p:Configuration=Debug "/p:Platform=Any CPU" %* || pause
+dotnet clean ILSpy.sln /p:Configuration=Release "/p:Platform=Any CPU" %* || pause
0 commit comments