Search code examples
c#nuget

How to find out where our nuget packages are hosted


Just learned about building/converting my code library to a nuget package. OK that was simple. A few right clicks created a nuget package file. But now I want to publish my nuget on our company's nuget site. But where is it ? How do I publish to it? All I know is the URL that I use in Tools->Options->Nuget as the source but then how do I upload to it? The address is in this pattern:

https://tfs.mycompany.com/MyCompany/_packaging/MyTeam/nuget/v3/index.json

Solution

  • TFS is the old name for Azure DevOps, which is probably the same service you're using to host your git repo. Go there (https://tfs.mycompany.com/MyCompany), and in the menu at the left side near the bottom there is likely an option for "Artifacts" (https://tfs.mycompany.com/MyCompany/_packaging). That's where Azure DevOps keeps their private nuget and npm feeds.

    For more specific help you'll probably need to reach out to your company's IT department or one of your teammates.