File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ if [[ "$PACKAGERUNTIME" == "win-x"* ]]; then
182
182
acquireExternalTool " $CONTAINER_URL /symstore/1/symstore.zip" symstore
183
183
acquireExternalTool " $CONTAINER_URL /vstsom/m153_47c0856d_adhoc/vstsom.zip" tf
184
184
acquireExternalTool " $CONTAINER_URL /vswhere/2_8_4/vswhere.zip" vswhere
185
- acquireExternalTool " https://dist.nuget.org/win-x86-commandline/v3.4 .4/nuget.exe" nuget
185
+ acquireExternalTool " https://dist.nuget.org/win-x86-commandline/v4.6 .4/nuget.exe" nuget
186
186
187
187
if [[ " $INCLUDE_NODE6 " == " true" ]]; then
188
188
acquireExternalTool " ${NODE_URL} /v${NODE_VERSION} /${PACKAGERUNTIME} /node.exe" node/bin
@@ -214,7 +214,7 @@ elif [[ "$PACKAGERUNTIME" == "win-arm64" || "$PACKAGERUNTIME" == "win-arm32" ]];
214
214
acquireExternalTool " $CONTAINER_URL /symstore/win-arm${BIT} /1/symstore.zip" symstore
215
215
acquireExternalTool " $CONTAINER_URL /vstsom/m153_47c0856d_adhoc/vstsom.zip" tf
216
216
acquireExternalTool " $CONTAINER_URL /vswhere/2_8_4/vswhere.zip" vswhere
217
- acquireExternalTool " https://dist.nuget.org/win-x86-commandline/v3.4 .4/nuget.exe" nuget
217
+ acquireExternalTool " https://dist.nuget.org/win-x86-commandline/v4.6 .4/nuget.exe" nuget
218
218
219
219
if [[ " $INCLUDE_NODE6 " == " true" ]]; then
220
220
acquireExternalTool " ${NODE_URL} /v${NODE_VERSION} /${PACKAGERUNTIME} /node.exe" node/bin # Not available for Windows ARM
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ if [[ ($DOTNET_SDK_VERSION == "") || ($DOTNET_RUNTIME_VERSION == "") ]]; then
60
60
fi
61
61
62
62
DOTNET_DIR=" ${REPO_ROOT} /_dotnetsdk"
63
+ NUGET_DIR=" ${REPO_ROOT} /_l1/externals/nuget"
63
64
64
65
BUILD_CONFIG=" Debug"
65
66
if [[ " $DEV_CONFIG " == " Release" ]]; then
@@ -441,6 +442,7 @@ restore_sdk_and_runtime
441
442
heading " .NET SDK to path"
442
443
echo " Adding .NET SDK to PATH (${DOTNET_DIR} )"
443
444
export PATH=${DOTNET_DIR} :$PATH
445
+ export PATH=${NUGET_DIR} :$PATH
444
446
echo " Path = $PATH "
445
447
echo " .NET Version = $( dotnet --version) "
446
448
You can’t perform that action at this time.
0 commit comments