How to associate repository with package? #25494
-
I have a number of repositories on GitHub, and virtually all of them have been published as packages on NuGet. My packages combined are coming up on 20,000 downloads. But when I look at any of my repositories, I see this:
When I click Publish your first package, I’m not entirely clear on what we’re doing. Is there a way to associate my repositories with their existing NuGet packages? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you add the following property to your project, you will be able to publish the package to GitHub Packages.
See here for more info: Configuring dotnet CLI for use with GitHub Packages - GitHub DocsAt the moment there aren’t any automatic connections between packages published to nuget.org and GitHub Packages. GitHub Packages can be a good place to publish work-in-progress packages before the release version is published to nuget.org. |
Beta Was this translation helpful? Give feedback.
@softcircuits,
If you add the following property to your project, you will be able to publish the package to GitHub Packages.
See here for more info:
docs.github.com
Configuring dotnet CLI for use with GitHub Packages - GitHub Docs
At the moment there aren’t any automatic connections between packages published to nuget.org and GitHub Packages.
GitHub Packages can be a good place to publish work-in-progress packages before the release version is published to nuget.org.