NuKeeperDotNet / NuKeeper

Automagically update nuget packages in .NET projects
Apache License 2.0
540 stars 128 forks source link

Documentation improvement/receipe #1080

Closed phatcher closed 3 years ago

phatcher commented 3 years ago

🏗 Enhancement Proposal

Just an update to either the recipes or config pages of how to natively access secured Azure DevOps feeds

Pitch

Had to do this again on a new machine and took a bit of hunting to find all the necessary bits...

Symptom is a not authorized error message when running nukeeper against project, no nuget.config is present...

  1. Install the artifacts credential provider
  2. Clear the local nuget caches, otherwise you will pick up versions that VS has already downloaded nuget locals all -clear
  3. Restore the packages dotnet restore --interactive this will prompt for device authorization and store the PAT securely
  4. Now run nukeeper as usual and it will pick up the credentials from the store.

Platforms affected (mark all that apply)

MarcBruins commented 3 years ago

Please make a PR and extend the docs where applicable

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.