Xamarin Studio 手动升级nuget 组件

来源:互联网 发布:金坛网络维护维修电话 编辑:程序博客网 时间:2024/04/30 05:10

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:

  1. Close Xamarin Studio.
  2. Download the NuGet addin binaries from GitHub.
  3. Find the NuGet addin directory:

    /Applications/Xamarin\ Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.PackageManagement/

  4. 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).

  5. 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.

0 0
原创粉丝点击