Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3116

Why do I need to install the EntityFrameworkCore nuget package when moving my project to a new machine?

$
0
0

Maybe I didn't install the package correctly to begin with, please let me know, but after I moved my project to a new machine, installed .Net Core SDK 3.1 (latest) and cloned my project from Github, I had to go and install this nuget package manually:

https://www.nuget.org/packages/Microsoft.EntityFrameworkCore

When I first opened up the project in VS Code I had like 200+ errors for missing files.I installed the EntityFrameworkCore package in my project folder and that fixed it.

QUESTION - I didn't have to install any of the other packages below (ex. SendGrid), so why this one?Did I not install it correctly initially on my other computer? So maybe it didn't check in the reference or something? But the reference is in the .csproj file below!

Here are all the other packages I'm using and none had to be manually installed exceptMicrosoft.EntityFrameworkCore 3.1.3

<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="3.1.3" /><PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="3.1.3" /><PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.3" /><PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="3.1.3" /><PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.3" /><PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.3" /><PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.3" /><PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.3" /><PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.3" /><PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite" Version="3.1.3" /><PackageReference Include="Microsoft.IdentityModel.Tokens" Version="5.6.0" /><!-- <PackageReference Include="NetTopologySuite" Version="2.0.0" /> --><PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="5.6.0" /><PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="7.0.0" /><PackageReference Include="CloudinaryDotNet" Version="1.8.0" /><PackageReference Include="SendGrid" Version="9.12.0" />

Viewing all articles
Browse latest Browse all 3116

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>