Bug 44043

Summary: Need NuGet client 2.12 on Linux
Product: [Desktop] Xamarin Studio Reporter: Benjamin Summerton <def.pri.pub>
Component: NuGetAssignee: Matt Ward <matt.ward>
Status: RESOLVED ANSWERED    
Severity: normal    
Priority: ---    
Version: unspecified   
Target Milestone: master   
Hardware: PC   
OS: Linux   
Tags: Is this bug a regression?: ---
Last known good build:

Description Benjamin Summerton 2016-09-07 01:06:11 UTC
I was trying to install the package `Microsoft.AspNetCore.Http` from NuGet via MonoDevelop on Linux, and then I got this error:

    The 'System.Text.Encodings.Web 4.0.0' package requires NuGet client version '2.12' or above, but the current NuGet version is '2.8.7.0'.

I don't see a way to update NuGet.  I tried to file an issue over on NuGet's GitHub tracker, but they told me to file it here (link: https://github.com/NuGet/Home/issues/3382)
Comment 1 Matt Ward 2016-09-07 08:10:55 UTC
MonoDevelop 6.0.2 includes NuGet 2.12. That version is currently only available if you build MonoDevelop from GitHub.

If you are MonoDevelop 5.10 then you may be able to just replace the NuGet binaries in the /usr/lib/monodevelop/AddIns/MonoDevelop.PackageManagement directory. The NuGet 2.12 binaries are available from GitHub:

https://github.com/mono/nuget-binary/tree/2.12

The Microsoft.Web.XmlTransform.dll and NuGet.Core.dll files are the ones used by MonoDevelop.