From 338cbea4e2b7d95c0d6e4c2a9f550559fc10ca5c Mon Sep 17 00:00:00 2001 From: Vladimir Safonkin Date: Tue, 3 Nov 2020 14:14:24 +0300 Subject: [PATCH] Fix Xamarin Nuget installation --- images/macos/provision/utils/xamarin-utils.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/images/macos/provision/utils/xamarin-utils.sh b/images/macos/provision/utils/xamarin-utils.sh index 9e549a9c..c6b66a1e 100644 --- a/images/macos/provision/utils/xamarin-utils.sh +++ b/images/macos/provision/utils/xamarin-utils.sh @@ -193,8 +193,11 @@ installNuget() { echo "Installing nuget $NUGET_VERSION for Mono $MONO_VERSION" cd ${MONO_VERSIONS_PATH}/${MONO_VERSION}/lib/mono/nuget sudo mv nuget.exe nuget_old.exe + + pushd $TMPMOUNT download_with_retries $NUGET_URL "." "nuget.exe" sudo chmod a+x nuget.exe + popd } createUWPShim() {