Click here to Skip to main content
15,843,200 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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 7:52am

1 solution

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[^]
Share this answer

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

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900