Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab Package Management with Azure Artifacts #597

Open
1 task
azurearchitect786 opened this issue Sep 26, 2024 · 3 comments
Open
1 task

Lab Package Management with Azure Artifacts #597

azurearchitect786 opened this issue Sep 26, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@azurearchitect786
Copy link

Contact Details

No response

What happened?

The package dotnet pack command is not working We get error

image

Lab

Package management with Azure Artifacts

Relevant screenshots

paste here 😉

Do you want to help us? 👏

@azurearchitect786 azurearchitect786 added the bug Something isn't working label Sep 26, 2024
@yashints
Copy link
Collaborator

@LuizMacedo @rob-foulkrod this is due to not having the credential manager installed, which is a little bit confusing, since we asked them to use Visual Studio to add the feed but then revert back to terminal for packing, if they pack using VS it would be OK. Thoughts?

@dave-007
Copy link

Hi,
So if Task 2 step 8 guides the student to run the commands from the Visual Studio Developer Command Prompt instead of PowerShell prompt, will it work?

@rob-foulkrod
Copy link
Collaborator

Recreating the lab with the credential provider installed and it looks as if building in Visual Studio did not authenticate against the feed. So options are to pack with Visual Studio as @yashints mentioned, or to
dotnet pack .\eshoponWeb.Shared.csproj --interactive
then follow the instructions and authenticate with the devicecode.

Either way, looks like we will need to tweak the instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants