aws / aws/aws-toolkit-visual-studio

Error executing 'dotnet publish'

Open
#247 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
135
Forks
37
PR merge metrics
No merged PRs in 30d

Description

Output log says unable to load NuGet package (401 unauthorized) using Publish with Elastic Beanstalk. There is a private package in the project, how to tell AWS toolkit to use the credentials for this package, whish are already added in the VS.

Simple publish like Right click > Publish is working, but with beanstalk its not.

Microsoft Visual Studio Professional 2022 (64-bit) - Version 17.1.6

![publish error](https://user-images.githubusercontent.com/101135434/166809668-e73e17ed-eb0a-4fad-9941-cbdc9d64732c.png)

Contributor guide

Open the contributing guide

Research direction

Start with the AWS Toolkit for Visual Studio Elastic Beanstalk publish path and compare its dotnet publish behavior with the working Visual Studio Publish flow. The issue is resolved when publishing through Elastic Beanstalk can authenticate to the project's private NuGet package using the credentials already configured in Visual Studio.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.