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 workload install takes an incredible amount of time after updating the sdk

See original GitHub issue

Describe the bug

After updating the .NET SDK from 6.0.100-rc.2.21465.13 to 6.0.100-rc.2.21471.56 I have noticed that the install time goes from 2 mins to 50 mins.

Noticed in this PR: https://github.com/dotnet/maui/pull/2659

Fast: https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=5242167&view=logs&j=a2b1c795-2687-5fd3-b418-4e4b87c7d580&t=4e29a67b-3a84-5881-9e49-cccb88db0007 Slow: https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=5242060&view=logs&j=78462016-6fc7-57ab-3e4b-3ba758f547e0&t=77e01010-9782-5688-7fce-13f236f3210c

To Reproduce

Exceptions (if any)

Further technical details

  • Include the output of dotnet --info
  • The IDE (VS / VS Code/ VS4Mac) you’re running on, and its version

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sfoslundcommented, Sep 23, 2021

Thanks for reporting this, I made a stupid mistake in the original PR, sorry about that 😃 Fix here: https://github.com/dotnet/sdk/pull/21329

0reactions
sfoslundcommented, Sep 24, 2021

Closing as fixed by #21329

Read more comments on GitHub >

github_iconTop Results From Across the Web

Improve performance of workload installation · Issue #24843
dotnet workload install maui seems to take about 6 minutes on the Mac hosted pool, while the dotnet-install script only takes ~13 seconds....
Read more >
dotnet workload update command - .NET CLI
The dotnet workload update command updates all installed workloads to the newest available versions. It queries Nuget.org for updated ...
Read more >
When doing the weekly servicing update, actually upgrade ...
It seems that on installing any update to Visual Studio, a new .Net Core SDK is installed, typically weighing in at about ~460Mb....
Read more >
WARNING - 17.4.0 Another bad VS 2022 Release?
Looks like installing VS 17.4.0 installs the dotnet SDK for 7.0.100 and DELETES all of the previously installed dotnet sdks from C:\Program ...
Read more >
Dotnet build linux. The answer you're looking for is basically
After installing it, you can use MSBuild through dotnet build or by manual invocation of the MSBuild. The csproj file : <Project Sdk="Microsoft....
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