Installing private NuGet packages
There are a few guides on the web about creating a NuGet package. Once you have the package file, you can use the Dashboard, command line, or cURL to upload it to your Gemfury account.
Your secret Repository URL
The secret repository URL is the NuGet endpoint for your Gemfury account and packages. Do not share this URL to keep your account private. Your Repo-URL has the following format:
Setting up Visual Studio with Gemfury
To install your packages, you'll need to configure NuGet to access your Gemfury repository by performing the following steps:
- Go to Tools → Library Package Manager → Package Manager Settings
- Select Package Manager → Package Sources in the navigation tree
- Enter "Gemfury" into the Name field and your NuGet Repo-URL into the Source field, and press Add
- (Optional) Use the arrow buttons to move the "Gemfury" source to the first spot to prioritize your packages over the ones in the public repository.
Using NuGet.exe command line tool with Gemfury
-Source option to your NuGet.exe commands to
access your private packages in Gemfury:
NuGet.exe <command> -Source https://nuget.fury.io/SeCrEt-ToKeN/me/
List the current versions for your private packages:
NuGet.exe list -Source https://nuget.fury.io/SeCrEt-ToKeN/me/
Install a package:
NuGet.exe install ZeroClipboard -Source https://nuget.fury.io/SeCrEt-ToKeN/me/
Currently, Gemfury does not support NuGet's search or pre-release capabilities
-Prerelease options in the NuGet.exe or Package Manager
Console. Please contact us if this limits your ability to
use Gemfury with your project.