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

NuGet\Install-Package : Could not install package 'Microsoft.EntityFrameworkCore 7.0.3'

$
0
0

seriously im newbie at .net core and i dont know how to install efcorethis is the command im using in package manager:NuGet\Install-Package Microsoft.EntityFrameworkCore -Version 7.0.3im trying to install it in persistance layer using Clean architecturemy vs version is 2022my .net version is 6.0

enter image description here

i also tried to install diffrent versions of efcore... same error...save me

this is the Error in text:

Install failed. Rolling back...Package 'Microsoft.EntityFrameworkCore.7.0.3' does not exist in project 'Bugeto_Store.persistence'Package 'Microsoft.EntityFrameworkCore.7.0.3' does not exist in folder 'C:\Users\Faveen\source\repos\Bugeto_Store\packages'Executing nuget actions took 355 msNuGet\Install-Package : Could not install package 'Microsoft.EntityFrameworkCore 7.0.3'. You are trying to install this package into a project that targets'.NETFramework,Version=v4.7.2', but the package does not contain any assembly references or content files that are compatible with that framework. For moreinformation, contact the package author.At line:1 char:1

  • NuGet\Install-Package Microsoft.EntityFrameworkCore -Version 7.0.3
  • + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

Viewing all articles
Browse latest Browse all 3067

Trending Articles



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