Open netonjm opened 5 years ago
add a wrong nuget source
= invalid https url or invalid location on disk?
the source is https 👍
Seems OK to me. The package source is unchecked (disabled) in preferences and so is not used for the restore. Can you post the Package Console output?
Can you add the Package Console output too?
Attempting to gather dependency information for package 'Newtonsoft.Json.11.0.2' with respect to project 'MonoDevelop.Inspector.Tests', targeting '.NETFramework,Version=v4.6.1' Exception 'System.AggregateException' thrown when trying to add source 'https://www.myget.org/F/xamarin-internal/auth/08bb9531-0ad8-40c5-ac0e-8618b863d416/api/v3/index.json'. Please verify all your online package sources are available.
That myget source that is invalid is not in Preferences so I am guessing you are restoring md-addins which has its own NuGet.Config file.
Project nuget restore failed if any disabled nuget source is not available.
1) add a wrong nuget source 2) disable it 3) open a project 4) Restore fails
Visual Studio Enterprise 2017 for Mac (Preview) Version 7.8 Preview (7.8 build 1230) Installation UUID: ac2f5f5a-65c6-4e02-aae1-61d2ac9aabc1 GTK+ 2.24.23 (Raleigh theme) Xamarin.Mac 5.0.0.0 ( / b40230c0)
Mono Framework MDK Runtime: Mono 5.16.0.209 (2018-06/709b46e3338) (64-bit) Package version: 516000209
NuGet Version: 4.7.0.5148
.NET Core Runtime: /usr/local/share/dotnet/dotnet Runtime Versions: 2.1.2 2.1.1 2.0.5 2.0.3 2.0.0 1.1.2 1.1.1 1.0.5 1.0.4 1.0.3 SDK: /usr/local/share/dotnet/sdk/2.1.302/Sdks SDK Versions: 2.1.302 2.1.301 2.1.4 2.0.3 2.0.0 1.0.3 1.0.1 1.0.0-preview2-003156 MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.16.0/lib/mono/msbuild/15.0/bin/Sdks
Xamarin.Profiler Version: 1.6.9 Location: /Users/jmedrano/Projects/profiler/src/XamarinProfiler.Mac/bin/Debug/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
Updater Version: 8
Xamarin Designer Version: 4.18.0.263 Hash: b487b63ba Branch: remotes/origin/master Build date: 2018-11-12 04:56:16 UTC
Apple Developer Tools Xcode 10.1 (14460.46) Build 10B61
Xamarin.Mac Version: 5.2.1.10 (Visual Studio Enterprise) Hash: f2a05edd Branch: Build date: 2018-10-31 18:55:58-0400
Xamarin.iOS Version: 12.2.1.10 (Visual Studio Enterprise) Hash: f2a05edd Branch: d15-9 Build date: 2018-10-31 18:55:57-0400
Xamarin.Android Version: 9.1.0.38 (Visual Studio Enterprise) Android SDK: /Users/jmedrano/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 4.1 (API level 16) 4.2 (API level 17) 4.3 (API level 18) 4.4 (API level 19) 4.4.87 (API level 20) 5.0 (API level 21) 5.1 (API level 22) 6.0 (API level 23) 7.0 (API level 24) 7.1 (API level 25) 8.0 (API level 26) 8.1 (API level 27)
SDK Tools Version: 26.1.1 SDK Platform Tools Version: 28.0.0 SDK Build Tools Version: 27.0.0
Microsoft Mobile OpenJDK Java SDK: /Users/jmedrano/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.9 1.8.0-9 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL
Android Device Manager Version: 1.2.0.0 Hash: 4569210 Branch: master Build date: 2018-11-14 11:26:41 UTC
Build Information Release ID: 708001230 Git revision: 2b6aa28ffdd352fd9055044617c0726daff2a949 Build date: 2018-11-14 11:29:56+00 Build branch: master-cocoa-toolbox Xamarin extensions: 1ad779cb8de76d1f351d8d3aab2fac7b2670a9cd
Operating System Mac OS X 10.14.0 Darwin 18.0.0 Darwin Kernel Version 18.0.0 Wed Aug 22 20:13:40 PDT 2018 root:xnu-4903.201.2~1/RELEASE_X86_64 x86_64
Enabled user installed extensions Gist Ide Information 1.1.0 AddinMaker 1.4.3 MSBuild Editor 2.1.0 NuGet Package Explorer 0.2 NuGet Package Management Extensions 0.14 Redth's Addins 1.0.9 Show in Github 1.0.4 VSMarketPlaceManager 1.0