question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dotnet restore <solution name> takes several minutes to finish

See original GitHub issue

The log is full of this stuff:

 Paket version 5.219.2
  Starting restore process.
  Performance:
   - Disk IO: 8 milliseconds
   - Runtime: 1 second
  Paket version 5.219.2
  Starting restore process.
  Performance:
   - Disk IO: 7 milliseconds
   - Runtime: 1 second
  Paket version 5.219.2
  Starting restore process.
  Performance:
   - Disk IO: 6 milliseconds
   - Runtime: 1 second
  Paket version 5.219.2
  Starting restore process.
  Performance:
   - Disk IO: 9 milliseconds
   - Runtime: 1 second
  Paket version 5.219.2
  Starting restore process.
  Performance:
   - Disk IO: 6 milliseconds
   - Runtime: 1 second

and so on. It outputs a block of Starting restore process... every ~1 second.

The CPU load looks like this:

image

There was no such issue ~a month or two ago, everything was fast.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
forkicommented, Nov 25, 2019

new bootstrapper released

0reactions
JohnyWScommented, Nov 24, 2019

PR created.

Read more comments on GitHub >

github_iconTop Results From Across the Web

dotnet restore is taking too much time on gitlab-ci
Your build pipeline has a total maximum of 60 minutes. It's not the dotnet restore that is slow (only takes 24 secs), but...
Read more >
​DevOps build pipeline - nuget restore very slow on self- ...
Nuget restore step lasts about 12 minutes! It even does not download those packages, because all of them are in local cache -...
Read more >
Rider stuck on "Restoring packages" after opening solution ...
Nuget logs appear to show that restoration is complete, so I don't think that the message is necessarily correct. Having a look at...
Read more >
dotnet restore command - .NET CLI
Learn how to restore dependencies and project-specific tools with the dotnet restore command.
Read more >
10 commands you don't want to be without in .Net Core
Here's a full list of commands that runs restore implicitly: dotnet new; dotnet build; dotnet build-server; dotnet run; dotnet test; dotnet publish; dotnet...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found