提交 02cb8cdc 编写于 作者: B Brett V. Forsgren

restore tools before dependency uptake work

The script `init-tools.cmd` drops the entire `Tools\` directory which could in theory (haven't seen it in practice yet) drop the depdendency uptake packages.
上级 b9d49424
......@@ -603,6 +603,11 @@ if "%RestorePackages%" == "true" (
)
)
if "%BUILD_PROTO_WITH_CORECLR_LKG%" == "1" (
:: Restore the Tools directory
call %~dp0init-tools.cmd
)
echo ----------- Done with package restore, starting dependency uptake check -------------
if not "%PB_PackageVersionPropsUrl%" == "" (
......@@ -624,11 +629,6 @@ if not "%PB_PackageVersionPropsUrl%" == "" (
if ERRORLEVEL 1 echo Error restoring dependency uptake packages && goto :failure
)
if "%BUILD_PROTO_WITH_CORECLR_LKG%" == "1" (
:: Restore the Tools directory
call %~dp0init-tools.cmd
)
set _dotnetcliexe=%~dp0Tools\dotnetcli\dotnet.exe
set _dotnet20exe=%~dp0Tools\dotnet20\dotnet.exe
set NUGET_PACKAGES=%~dp0Packages
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册