Bug 44043 - Need NuGet client 2.12 on Linux
Summary: Need NuGet client 2.12 on Linux
Status: RESOLVED ANSWERED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: NuGet (show other bugs)
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: master
Assignee: Matt Ward
URL:
Depends on:
Blocks:
 
Reported: 2016-09-07 01:06 UTC by Benjamin Summerton
Modified: 2016-09-07 08:10 UTC (History)
0 users

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

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.