Upgrading to latest preview SDK from previous preview version results in missing ASP.NET Core ref pack
See original GitHub issueJust experienced this on my desktop. Apparently @davidfowl experience this too on his laptop last week.
- Started with SDK version 3.0.100-preview7-012606 (Windows x64)
- Upgraded to version 3.0.100-preview7-012629 (Windows x64)
- After upgrade, ASP.NET Core projects fail to build with following restore error:
~\MyProject.csproj : error NU1102: Unable to find package Microsoft.AspNetCore.App.Ref with version (= 3.0.0-preview7.19325.7) ~\MyProject.csproj : error NU1102: - Found 4 version(s) in nuget.org [ Nearest version: 3.0.0-preview6.19307.2 ] ~\MyProject.csproj : error NU1102: - Found 0 version(s) in Microsoft Visual Studio Offline Packages
The contents of C:\Program Files\dotnet\packs
is missing the ASP.NET Core ref pack:
Intsaller logs: Microsoft_.NET_Core_SDK_3.0.100_-preview7(x64)_install_logs.zip
Issue Analytics
- State:
- Created 4 years ago
- Comments:27 (25 by maintainers)
Top Results From Across the Web
Upgrading to latest preview SDK from previous ...
Started with SDK version 3.0.100-preview7-012606 (Windows x64) ... latest preview SDK from previous preview version results in missing ASP.
Read more >NETSDK1045: The current .NET SDK does not support ...
Go to Tools > Options > Environment > Preview Features, and make sure that Use previews of the .NET Core SDK is checked....
Read more >"Missing" Microsoft.AspNetCore.App.Runtime.win-arm & ...
Installing latest .net 8 sdk preview manually; (trying) to install ARM SDK and and ARM packages (wouldn't install x64 system). Note that it ......
Read more >Upgrading from ASP.NET Core 3.1 to 5.0 (Preview 1)
In this post, I cover the steps required to upgrade some projects from the ASP.NET Core 3.1 to the first preview of .NET...
Read more >Cannot debug net6.0-macos Apps - Developer Community
A fix for this issue is now available in preview release. Try out the fix by installing the most recent preview fromVisual Studio...
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
“The fix is already made in master.” per @JunTaoLuo - master is Preview 8 - closing this issue as fixed for SDK 3.0 Preview 8
It still happens, I just reproduced it on the latest SDK: