Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install a MyGet package?

Tags:

A quote from ImageProcessor repo

We already have a MyGet package repository - for bleeding-edge / development NuGet releases.

The link points to some json file.

I used to install NuGet packages by id. What should I do with json?

like image 834
user2136963 Avatar asked Feb 16 '16 17:02

user2136963


People also ask

How do I install MyGet package?

From the Tools menu, select NuGet Package Manager, Package Manager Settings. Select Package Sources. Then click the plus button to add a new package source. Give it a name and use one of the above feed urls.

How do I install a new package in Visual Studio?

In Visual Studio, select Tools, and then select Options. Select NuGet Package Manager, and then select Package Sources. Enter the feed's Name and Source URL, and then select the green (+) sign to add a new package source.


1 Answers

If you are using Visual Studio you will need to open the Package Manager Settings and create a new package source with the MyGet url. There are two URLs, one if you are using NuGet 2, which is for Visual Studio 2013 and older, or another url for Visual Studio 2015 and NuGet 3.

  • NuGet v3 Feed url: https://www.myget.org/F/imageprocessor/api/v3/index.json
  • NuGet v2 Feed url: https://www.myget.org/F/imageprocessor/

Note that you can use the NuGet v2 url in Visual Studio 2015, it still works there.

From the Tools menu, select NuGet Package Manager, Package Manager Settings. Select Package Sources. Then click the plus button to add a new package source. Give it a name and use one of the above feed urls.

Then open the NuGet package manager itself and select the new package source you added. Note that you will need Include prerelease checked to see any NuGet packages for the image processor feed.

If you are using MonoDevelop or Xamarin Studio then use the NuGet v2 Feed url.

like image 176
Matt Ward Avatar answered Oct 17 '22 09:10

Matt Ward