Skip to content

[Bug]: Performance is quite severely degraded with lots of contentFile entries #11543

Open
@atrauzzi

Description

@atrauzzi

NuGet Product Used

dotnet.exe

Product Version

6.0.100

Worked before?

N/A

Impact

It's more difficult to complete my work - although one might argue it's basically unusable.

Repro Steps & Context

Take a look at the following nuget package: https://github.com/atrauzzi/protoculture-dotnet-postgres/suites/5130643290/artifacts/154430129

Out of necessity, it contains a lot of contentFiles entries as it bundles in native, portable builds of postgres.

Unfortunately when I add it to a project, it seems like dotnet restore now grints to a halt for quite some time, slowing the dev loop substantially and presenting a usability concern.

image

Barring any technique I'm missing out on that I can leverage in my .csproj file, it seems like the nuget client could use some TLC when it comes to contentFiles.

Verbose Logs

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area:ContentFilesPackageReference contentFiles folderFunctionality:RestorePriority:3Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Tenet:PerformancePerformance issuesType:Bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions