mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
Add explicit System.Security.Cryptography.Pkcs dependency to avoid security vulnerability warning in ILSpyCmd. Suppress security vulnerability warnings in test projects.pull/3529/head
10 changed files with 39 additions and 81 deletions
@ -1,13 +1 @@ |
|||||||
@setlocal enabledelayedexpansion |
dotnet build ILSpy.sln /p:Configuration=Debug "/p:Platform=Any CPU" %* || (pause && exit /b 1) |
||||||
@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 |
|
||||||
) |
|
||||||
@nuget restore ILSpy.sln || (pause && exit /b 1) |
|
||||||
"%MSBUILD%" ILSpy.sln /p:Configuration=Debug "/p:Platform=Any CPU" || (pause && exit /b 1) |
|
||||||
|
|||||||
@ -1,13 +1 @@ |
|||||||
@setlocal enabledelayedexpansion |
dotnet build ILSpy.sln /p:Configuration=Release "/p:Platform=Any CPU" %* || (pause && exit /b 1) |
||||||
@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 |
|
||||||
) |
|
||||||
@nuget restore ILSpy.sln || (pause && exit /b 1) |
|
||||||
"%MSBUILD%" ILSpy.sln /p:Configuration=Release "/p:Platform=Any CPU" || (pause && exit /b 1) |
|
||||||
|
|||||||
Loading…
Reference in new issue