From ad91eb52c33df24adaeec447259fced3cc68c96e Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Wed, 5 Aug 2015 16:45:19 -0700 Subject: [PATCH] Add source flag to nuget.exe install `-Source 'https://nuget.org/api/v2'` Works around NuGet 3 issues. Necessary with the MonoProject's mono-devel (which is used in the Docker build container). --- scripts/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/Makefile b/scripts/Makefile index 62ed5a9ed2..75cdfdaad8 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -136,9 +136,9 @@ dotnetlibs/api-ms-win-core-registry-l1-1-0.dll: ../src/win-dll/lib-api-ms-win-co prepare: rm -rf buildtemp/System.Reflection.Metadata.* buildtemp/System.Collections.Immutable.* buildtemp/Microsoft.Net.ToolsetCompilers.* buildtemp/nuget.exe cp $(MONAD_EXT)/nuget/nuget.exe buildtemp/nuget.exe - cd buildtemp && mono nuget.exe install -Version 1.0.21 System.Reflection.Metadata - cd buildtemp && mono nuget.exe install -Version 1.1.36 System.Collections.Immutable - cd buildtemp && mono nuget.exe install -Version 1.0.0-rc3-20150520-02 Microsoft.Net.ToolsetCompilers + cd buildtemp && mono nuget.exe install -Source 'https://nuget.org/api/v2' -Version 1.0.21 System.Reflection.Metadata + cd buildtemp && mono nuget.exe install -Source 'https://nuget.org/api/v2' -Version 1.1.36 System.Collections.Immutable + cd buildtemp && mono nuget.exe install -Source 'https://nuget.org/api/v2' -Version 1.0.0-rc3-20150520-02 Microsoft.Net.ToolsetCompilers # this is an internal target, it's not intended to be called manually #