Skip to content

Latest commit

 

History

History
57 lines (32 loc) · 1.89 KB

File metadata and controls

57 lines (32 loc) · 1.89 KB
ms.topic ms.service ms.author author ms.date
include
azure-devops-artifacts
rabououn
ramiMSFT
05/15/2024

1. Get the package source URL

[!INCLUDE get a NuGet URL]

2. Set up Visual Studio

  1. In Visual Studio, select Tools > Options.

  2. Expand the NuGet Package Manager section, and then select Package Sources.

  3. Enter the feed's Name value and the Source URL, and then select the green plus sign (+) to add a source.

  4. If you enabled upstream sources in your feed, clear the nuget.org checkbox.

  5. Select OK when you're done.

    :::image type="content" source="../../media/vs-addsource.png" alt-text="A screenshot that shows selections for setting up Visual Studio in Windows.":::

  1. Create a personal access token.

  2. In Visual Studio, on the menu bar, select Preferences.

  3. Select NuGet, and then select Sources.

  4. Select Add and enter your feed's name, the source URL, a username (any string), and your personal access token.

  5. Select OK to save your source.

  6. If you enabled upstream sources in your feed, clear the nuget.org checkbox.

  7. Select OK when you're done.

    :::image type="content" source="../../media/vs-mac-settings.png" alt-text="A screenshot that shows selections for setting up Visual Studio in macOS.":::


3. Download packages

  1. In Visual Studio, right-click your project, and then select Manage NuGet Packages.

  2. Select Browse, and then select your feed from the Package source dropdown menu.

    :::image type="content" source="../../media/select-pkg-src.png" alt-text="Screenshot that shows selection of a package source in Visual Studio.":::

  3. Use the search bar to search for packages from your feed.