зеркало из https://github.com/dotnet/msbuild.git
Discourage building with MSBUILDDEBUGONSTART (#4952)
Discourage building with MSBUILDDEBUGONSTART. Allow debugging of a build if MSBUILDDEBUGONSTART_HARD is defined.
This commit is contained in:
Родитель
0f85cc7476
Коммит
f5ab630718
|
@ -1,3 +1,10 @@
|
|||
@echo off
|
||||
setlocal
|
||||
if defined MSBUILDDEBUGONSTART_HARD goto build
|
||||
if not defined MSBUILDDEBUGONSTART goto build
|
||||
if %MSBUILDDEBUGONSTART% == 0 goto build
|
||||
set MSBUILDDEBUGONSTART=
|
||||
echo To debug the build, define a value for MSBUILDDEBUGONSTART_HARD.
|
||||
:build
|
||||
powershell -NoLogo -NoProfile -ExecutionPolicy ByPass -Command "& """%~dp0eng\common\build.ps1""" -build -restore %*"
|
||||
exit /b %ErrorLevel%
|
||||
|
|
Загрузка…
Ссылка в новой задаче