Skip to content

"dotnet publish" does not provide sufficient guidance when there is a private Nuget feed #14302

@sdg002

Description

@sdg002

This is feedback about the documentation of the "dotnet publish" command which is available on this site.

I have a simple CSPROJ which references a nuget package from a private feed. The dotnet publish command fails with the following error:

C:\Program Files\dotnet\sdk\3.0.100-preview9-014004\NuGet.targets(123,5): error : Unable to load the service index for source https://pkgs.dev.azure.com/kiteedge/_packaging/apex/nuget/v3/index.json.
C:\Program Files\dotnet\sdk\3.0.100-preview9-014004\NuGet.targets(123,5): error : Response status code does not indicate success: 401 (Unauthorized)


I get a hint that NUGET is expecting credentials for the private NUGET feed. However, the documentation provides no assistance to solve this problem.

You could provide additional links at the bottom of the page which directs the developer to the right source. We have to understand that Visual Studio development and build is not something that can be taken lightly any more.

While, I appreciate that Microsoft is giving the developer the opportunity to provide feedback through Github, this cannot be a substitute for sloppy in-house testing. Microsoft should take the responsibility of providing sensible documentation - documentation which has been tried and tested.

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions