I've previously used VS2012 and struggling to learn VS2019 and ASP.NET Core. I've perhaps made the mistake of also downloading a trial version of the Telerik Core tools.
So I am trying to run through a very very simple tutorial and got to the part about Adding Entity Framework Core and then creating a data context. My system isn't recognising EntityFrameworkCore in the line using Microsoft.EntityFrameworkCore; of the context class. I've just spent a frustrating couple of hours hopelessly trying to find out where the problem is. I ended up going to the cli and trying to execute "dotnet add package Microsoft.EntityFrameworkCore --version 3.1.8" and I get
info : GET https://nuget.telerik.com/nuget/FindPackagesById()?id='Microsoft.EntityFrameworkCore'&semVerLevel=2.0.0
info : OK https://nuget.telerik.com/nuget/FindPackagesById()?id='Microsoft.EntityFrameworkCore'&semVerLevel=2.0.0 599ms
error: Unable to find package Microsoft.EntityFrameworkCore. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages, nuget.telerik.com
So somewhere Telerik have hijacked the nuget and it is only referencing telerik.com and not microsoft. NOT happy.
How do I get EntityFrameworkCore in my project
So I am trying to run through a very very simple tutorial and got to the part about Adding Entity Framework Core and then creating a data context. My system isn't recognising EntityFrameworkCore in the line using Microsoft.EntityFrameworkCore; of the context class. I've just spent a frustrating couple of hours hopelessly trying to find out where the problem is. I ended up going to the cli and trying to execute "dotnet add package Microsoft.EntityFrameworkCore --version 3.1.8" and I get
info : GET https://nuget.telerik.com/nuget/FindPackagesById()?id='Microsoft.EntityFrameworkCore'&semVerLevel=2.0.0
info : OK https://nuget.telerik.com/nuget/FindPackagesById()?id='Microsoft.EntityFrameworkCore'&semVerLevel=2.0.0 599ms
error: Unable to find package Microsoft.EntityFrameworkCore. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages, nuget.telerik.com
So somewhere Telerik have hijacked the nuget and it is only referencing telerik.com and not microsoft. NOT happy.
How do I get EntityFrameworkCore in my project