AZ-400 · Question #87
Your development team is building a new web solution by using the Microsoft Visual Studio integrated development environment (IDE). You need to make a custom package available to all the developers. T
The correct answer is A. Publish the package to a feed. B. Create a new feed in Azure Artifacts. E. Add the package URL to the NuGet Package Manager settings in Visual Studio.. B: By using your custom NuGet package feed within your Azure DevOps (previously VSTS) instance, you'll be able to distribute your packages within your organization with ease. Start by creating a new feed. A: We can publish, pack and push the built project to our NuGet feed. E: Co
Question
Options
- APublish the package to a feed.
- BCreate a new feed in Azure Artifacts.
- CUpload a package to a Git repository.
- DAdd the package URL to the Environment settings in Visual Studio.
- EAdd the package URL to the NuGet Package Manager settings in Visual Studio.
- FCreate a Git repository in Azure Repos.
How the community answered
(26 responses)- A73% (19)
- C8% (2)
- D4% (1)
- F15% (4)
Explanation
B: By using your custom NuGet package feed within your Azure DevOps (previously VSTS) instance, you'll be able to distribute your packages within your organization with ease. Start by creating a new feed. A: We can publish, pack and push the built project to our NuGet feed. E: Consume your private NuGet Feed Go back to the Packages area in Azure DevOps, select your feed and hit "Connect to feed". You'll see some instructions for your feed, but it's fairly simple to set up. Just copy your package source URL, go to Visual Studio, open the NuGet Package Manager, go to its settings and add a new source. Choose a fancy name, insert the source URL. Done. Search for your package in the NuGet Package Manager and it should appear there, ready for Make sure to select the appropriate feed (or just all feeds) from the top right select box. https://medium.com/medialesson/get-started-with-private-nuget-feeds-in-azure-devops-
Community Discussion
No community discussion yet for this question.