Edit on GitHub

MyGet

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"?>
<configuration>
  <packageSources>
    <add key="ServiceStack MyGet feed" value="https://www.myget.org/F/servicestack" />
    <add key="nuget.org" value="https://www.nuget.org/api/v2/" />
  </packageSources>
</configuration>

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

To clear NuGet Package Cache go to Tools -> Options and click Clear Package Cache:

Clear Packages Cache

This option is not available in VS 2015+, instead delete the Cached Nuget packages with:

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

If the above options do not work, try running the following command:

nuget locals all -clear