Click here to Skip to main content
14,576,812 members
Rate this:
Please Sign up or sign in to vote.
See more:
I created a new project in Visual Studio 2019 without adding any code. When I compiled it,  I had error: Unable to find package Microsoft.AspNetCore.App.Ref

What I have tried:

I tried to reinstall the package but I didn't know how. I'm a new user of VS.
Updated 22-May-20 6:52am

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

That's a NuGet package error, it could mean you didn't check the ASP.NET Core SDK option while installing Visual Studio.
Start the installer again and check the option, or you can try to download it from NuGet yourself: NuGet Gallery | Microsoft.AspNetCore.App 2.2.8[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100