Skip to content

dotnet nuget trust command doesn't work in 8.0.0-preview.7 #34610

@heng-liu

Description

@heng-liu

Describe the bug

dotnet nuget trust command doesn't work in the latest 8.0.0-preview.7 ( 8.0.100-preview.7.23376.3)

To Reproduce

Run dotnet nuget trust certificate MyCompanyCert 788D94235338D9395DA5804905C0B5F20F2AE4D527B5FE356D4E0C1DCF809ABC command, the output is:

Unrecognized command or argument 'MyCompanyCert'.
Unrecognized command or argument '788D94235338D9395DA5804905C0B5F20F2AE4D527B5FE356D4E0C1DCF809ABC'.

But this command works well in an older version.

Exceptions (if any)

Further technical details

There is a related change in dotnet/sdk repo: #33157, updating the src/Cli/dotnet/commands/dotnet-nuget/NuGetCommandParser.cs file. It might be the reason why this command is broken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    untriagedRequest triage from a team member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions