You can find updated NuGet addin binaries that support NuGet 2.8.7 on GitHub. I have tested these on the Mac and they will allow you to install the latest version of System.Collections.Immutable.
The process I followed to update an existing install of Xamarin Studio on the Mac was:
- Close Xamarin Studio.
- Download the NuGet addin binaries from GitHub.
-
Find the NuGet addin directory:
/Applications/Xamarin\ Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.PackageManagement/
-
In the NuGet addin directory make a backup copy of the existing NuGet.Core.dll and MonoDevelop.PackageManagement.dll, or change the file extension of these files (e.g. .dll-backup).
- Copy the new NuGet addin binaries from GitHub into the above directory.
On Windows the process is similar but the directory containing the NuGet addin is different:
C:\Program Files (x86)\Xamarin Studio\AddIns\MonoDevelop.PackageManagement
If you are using the NuGet extension addin then that will also need to be updated. A new version of the NuGet extensions addin that works with NuGet 2.8.7 is also available on GitHub.