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:
- Go to
Tools -> Options -> Package Manager -> Package Sources
- Add the Source
https://www.myget.org/F/servicestackwith the name of your choice, e.g. ServiceStack MyGet feed
After registering the MyGet feed it will show up under NuGet package sources when opening the NuGet package manager dialog:
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
<?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
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):
Alternatively on Windows you can delete the Cached NuGet packages manually with:
$ del %LOCALAPPDATA%\NuGet\Cache\*.nupkg /q