docs icon indicating copy to clipboard operation
docs copied to clipboard

Add help to install NuGet packages from a different repository

Open rafaelschlatter opened this issue 2 years ago • 2 comments

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry

What part(s) of the article would you like to see updated?

The "Troubleshooting" needs an additional bulletpoint, explaining what to do to install a NuGet package from a different repository. This is important in my view since installing a package from a different repository is more common that publishing and installing the NuGet package from the same repository.

The way to solve this is by using a personal access token (PAT) in the dotnet nuget add source command. This would also clarify that using a PAT for authentication within a GitHub action is perfectly fine (the current structure of the doc indicates that using a PAT is only possible within a nuget.config file.

Additional information

No response

rafaelschlatter avatar Aug 05 '22 07:08 rafaelschlatter

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

welcome[bot] avatar Aug 05 '22 07:08 welcome[bot]

@rafaelschlatter thanks for opening an issue and PR! 💖

cmwilson21 avatar Aug 05 '22 19:08 cmwilson21