Skip to content

Extend nuget implementation #2045

@616b2f

Description

@616b2f

I've searched open issues for similar requests

  • Yes

Is your feature request related to a problem? Please describe.

I was looking into a way to be able to install a "regular" nuget package to be able to install the official roslyn LSP from Microsoft which is not hosted on nuget.org (for details see dotnet/roslyn#71474 (comment)).

The way currently nuget install works is we use "dotnet tool" to install nuget packages, but this works only with nuget packages which are "tools nuget packages" which means they have a specific structure and are for that also marked as tools in nuget repositories. When you try to install "regular" nuget packages via "dotnet tool" cli, it fails because the structure of the package is different and it expect it to be formatted as a tool.

Describe the solution you'd like

  • possibility to describe we want only download the nuget package as is and extract it (because nupkg are just zip files)
  • possibility to provide an alternative "repository_url" in the packages purl

Describe potential alternatives you've considered

there is an feature called dotnet install which provides a way to download a 'regular' nuget package, this would solve one of the two issues mentioned, but unfortunately it's not yet available in the current LTS versions of dotnet.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions