Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-27076

Visual Studio 2019 can't find private Artifactory NuGet package

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Artifactory, NuGet
    • Labels:
      None
    • Environment:

      Visual Studio 2019

      Artifactory NuGet website

    • Severity:
      High
    • Location:
      External

      Description

      Hello, I am trying to publish a NuGet package to my companies private Artifactory repo, and download my published NuGet package in a Visual Studio 2019 project. 

       

      I have created the .nupkg file, and uploaded it using the command line like so

      ```
       
      {{$ nuget sources Add -Name Artifactory -Source https://myurl/artifactory/api/nuget/ult-testware-nuget -username aaaaaa -password bbbbbb$ nuget setapikey aaaaaa:bbbbbb -Source Artifactory
      $ nuget push ClassLibrary2.1.0.0.nupkg -Source Artifactory}}

      ```

      Then I verified that my NuGet package is online and visible inside my artifactory repo ( ult-testware-nuget )

      I also followed the "Set Me Up" popup tips for adding the artifactory URL's inside Visual Studio:

      Now when I open Visual Studio, I get NuGet source dropdown options for both added artifactory urls:

       

      However in my project in Visual Studio 2019, there are no NuGet packages under 'Browse' for either artifactory url option

       

       

      Is there something more I need to do in order to browse my artifactory NuGet packages in Visual Studio code? Like some other step to authenticate that I am missing? Any help would be much appreciated! Thank you

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              martinbarker99 Martin Barker
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-27140 -
                  SYNCHRONIZED
                  • Last Sync Date: