Skip to content

.NET SDK & NuGet.Commandline.Xplat integration should be compile time and not runtime #13089

@nkolev92

Description

@nkolev92

When commands like dotnet nuget push or dotnet nuget config, dotnet list package today are invoked, the .NET SDK's dotnet.exe process has it's own parsing, which later gets forwarded to a completely new runnable, NuGet.Commandline.Xplat, which pretty much duplicates all the arguments.

This leads to an unnecessary 2nd process, difficulty debugging, + lots of duplicate work.

The proposal here is to change this integration to a compile time one, where the SDK just calls methods of NuGet.Commandline.Xplat instead of shelling out to a completely new process.

Sub-issues

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