Skip to content

Very slow "dotnet restore" in 9.0.200 or higher version #47784

Closed
@tresoldigiorgio

Description

@tresoldigiorgio

The "restore" command is very slow in version 9.0.200 or higher.

I've created a simple project with only one dependency to my other nuget package and launched
dotnet restore --interactive --force --no-cache

in 9.0.101 or 102 the command is very fast (2 seconds) but in 9.0.200 or 202 (1:41 minute) is extremely slow and cunsumes large amount of ram (8GB).

Image

this is my csproj

`

<PropertyGroup>
    <TargetFramework>net9.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
    <PackageReference Include="Nuvyta.SDK.App.Manager" Version="4.3.*" />
</ItemGroup>

`

this is the log by versions

101.log
102.log
200.log
202.log

this is my project dependencies

dependencies.txt

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions