dotnet workload install takes an incredible amount of time after updating the sdk
See original GitHub issueDescribe 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:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
Closing as fixed by #21329