These are the errors I get when I try to install the package Microsoft.EntityFrameworkCore
:
It’s a completely new ASP.NET Core 8 project, I haven’t written any code yet.
I tried to reinstall Visual Studio 2022, to use the newest versions of NuGet, VS etc., clear the NuGet storage with
dotnet nuget locals all --clear
and verified that the Package Sources are correct.
You may try this:
dotnet restore Solution.sln --source "https://api.nuget.org/v3/index.json"
its a ASP.NET Core Web App with .NET 8.0
Which version of VS 2022 are you using? .NET 8 requires VS 2022 v17.8.x – any earlier versions won’t work
yeah the version is 17.8.0