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.

Upgrading to latest preview SDK from previous preview version results in missing ASP.NET Core ref pack

See original GitHub issue

Just experienced this on my desktop. Apparently @davidfowl experience this too on his laptop last week.

  1. Started with SDK version 3.0.100-preview7-012606 (Windows x64)
  2. Upgraded to version 3.0.100-preview7-012629 (Windows x64)
  3. 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:

image

Intsaller logs: Microsoft_.NET_Core_SDK_3.0.100_-preview7(x64)_install_logs.zip

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
johnbeisnercommented, Jul 10, 2019

“The fix is already made in master.” per @JunTaoLuo - master is Preview 8 - closing this issue as fixed for SDK 3.0 Preview 8

1reaction
davidfowlcommented, Jun 27, 2019

It still happens, I just reproduced it on the latest SDK:

image

Read more comments on GitHub >

github_iconTop 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 >

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