Setup Visual Studio to access preview versions feed

If you are one of those developers that like to have access to the shiny and newer versions of the components you use, this post is for you.

It also applies if you are testing a PR for one of the class libraries or one of the experimental develop branches.

A bit of background information first to put you in context.

All the official (or labelled stable) releases of our Nuget packages are distributed through Nuget. The same goes for the Visual Studio extension. It’s distributed through the Visual Studio Marketplace.

All the above works just fine with the default Visual Studio configuration and settings. So nothing particularly thrilling so far…

Now, if you’re after the good stuff you’ll want to setup your Visual Studio to access nanoFramework’s developer feed. This feed is kindly hosted by MyGet.

Actually, there are two different feeds: one for the Nuget packages and another one for the Visual Studio extension.

 

MyGet Nuget feed

If you want to add this feed to your Visual Studio, just follow the following steps.

1.       Open Visual Studio Options window (available in Tools menu).

2.       On the Options window navigate on the left-hand toolbar to Nuget Package Manager – Package Sources.

nanoframework-myget-feed-nuget-01

3.       Click on the add button (the big green plus sign on the top right) and enter a name for the package source along with the following URL:

https://www.myget.org/F/nanoframework-dev/api/v3/index.json

4.       Click on the Update button otherwise your changes won’t’ be effective.

nanoframework-myget-feed-nuget-02

5.       That’s all. From now on this feed will be included on the searches and update checks on the Nuget Package manager.

Note: in case you are looking for a Nuget package of a PR you are testing, for example, you’ll find those with the alpha suffix. If there is more than one, check the release date for disambiguation.

 

MyGet Visual Studio Gallery

1.       Open Visual Studio Options window (available in Tools menu)

2.       On the Options window navigate on the left-hand toolbar to Environment – Extensions and Updates.

nanoframework-myget-feed-gallery-01

3.       Click on the Add button at the right and enter a name for the gallery source along with the following URL:

https://www.myget.org/F/nanoframework-dev/vsix/

4.       Click on the Apply button otherwise your changes won’t’ be effective.

nanoframework-myget-feed-gallery-02

5.       That’s all. From now this gallery will be included on the searches and update checks for your Visual Studio Extensions and Updates.

 

And that’s all folks! Now you can easily access the fresh new packages as they get out of our AppVeyor build queue.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s