Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Entity Framework core installation within Service Fabric Core Web API

$
0
0

Hello,

I'm using the Service Fabric core solution template with Visual Studio 2015 update 3 and created a stateless web api.

Within this project, I would like to use Entity Framework core.

When trying to install the nuget package using:  Install-Package Microsoft.EntityFrameworkCore.SqlServer

I get the following error:

Install failed. Rolling back...
Package 'Microsoft.EntityFrameworkCore.SqlServer.1.0.0' does not exist in project 'License_Services'
Package 'Microsoft.EntityFrameworkCore.SqlServer.1.0.0' does not exist in folder 'C:\GitHub\eco-csp-portal\eco-csp-portal\packages'
Install-Package : Could not install package 'Microsoft.EntityFrameworkCore.SqlServer 1.0.0'. You are trying to install this package into a project that targets'Unsupported,Version=v0.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact
the package author.
At line:1 char:1
+ Install-Package Microsoft.EntityFrameworkCore.SqlServer
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

Does this have to do with the fact that the service fabric core template is for RC2 and not 1.0?

Will there be an update soon?

Thanks

Martin


Viewing all articles
Browse latest Browse all 9386

Trending Articles



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