Our interim pre-release NuGet packages first get published to MyGet.
Instructions to add ServiceStack’s MyGet feed to VS.NET are:
Tools -> Options -> Package Manager -> Package Sources
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.
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>
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.
To clear NuGet Package Cache go to
Tools -> Options and click Clear Package 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