entity framework - NuGet Installation of EntityFramework -
i have been doing testing between vs2015 , vs2017. created .netframeworkapp , .netcoreapp website in both systems. installed couple of packages in 4 websites; in particular entitytframework. installed in both vs2015 websites , vs2017 .netframeworkapp website without problem wouldn't install in vs2017 .netcoreapp website. got following error messages.
net45 (.netframework,version=v4.5) 1 or more packages incompatible .netcoreapp,version=v1.1. package restore failed. rolling package changes 'rlsbcwebsite_nc'. time elapsed: 00:00:01.4470850
error package restore failed. rolling package changes 'rlsbcwebsite_nc'. 0
anyone idea why should be. assuming should install otherwise how use codefirst etc.
the "entityframework" package not supported .net core app, use the:
microsoft.entityframeworkcore.sqlserver
package instead
Comments
Post a Comment