Skip to content

How to associate repository with package? #25494

Answered by jcansdale
SoftCircuits asked this question in Actions
Discussion options

You must be logged in to vote

@softcircuits,

Is there a way to associate my repositories with their existing NuGet packages?

If you add the following property to your project, you will be able to publish the package to GitHub Packages.

<RepositoryUrl>https://github.com/OWNER/REPOSITORY</RepositoryUrl>

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Packages Host your dependencies, libraries, and production-ready code, right from your repository Product Feedback
2 participants