Edit on GitHub


ServiceStack pre-release MyGet Feed

Our interim pre-release NuGet packages first get published to MyGet.

Instructions to add ServiceStack’s MyGet feed to VS.NET are:

  1. Go to Tools -> Options -> Package Manager -> Package Sources
  2. Add the Source https://www.myget.org/F/servicestack with the name of your choice, e.g. ServiceStack MyGet feed

NuGet Package Sources

After registering the MyGet feed it will show up under NuGet package sources when opening the NuGet package manager dialog:

NuGet Package Manager

Which will allow you to search and install pre-release packages from the selected MyGet feed.

Adding MyGet feed without VS.NET

If you’re not using or don’t have VS.NET installed, you can add the MyGet feed to your NuGet.config at %AppData%\NuGet\NuGet.config:

<?xml version="1.0" encoding="utf-8"?>
    <add key="ServiceStack MyGet feed" value="https://www.myget.org/F/servicestack" />
    <add key="nuget.org" value="https://www.nuget.org/api/v2/" />

Redownloading MyGet packages

If you’ve already packages with the same version number from MyGet previously installed, you will need to manually delete the NuGet /packages folder for NuGet to pull down the latest packages.

Clear NuGet Package Cache

You can clear your local NuGet packages cache in any OS by running the command-line below in your favorite Terminal:

$ nuget locals all -clear

If you’re using VS.NET you can also clear them from Tools -> Options -> NuGet Package Manager and click Clear All NuGet Cache(s):

Clear Packages Cache

Alternatively on Windows you can delete the Cached NuGet packages manually with:

$ del %LOCALAPPDATA%\NuGet\Cache\*.nupkg /q