c# - can not upgrade from EF Core 1.1.2 to version 2.0.0 -
all, started working on project uses ef core 1.1.2. saw 2.0 released because started getting errors when tried add ef core project. couldn't update existing project, created brand new console project. set .net framework 4.6.1 , still had no luck. following message. has ran issue? in advance
install-package : not install package 'microsoft.entityframeworkcore.sqlserver 2.0.0'. trying install package project targets '.netframework,version=v4.6.1', package not contain assembly references or content files compatible framework.
ef core 2.0 release has been officially announced , documentation (partially) updated.
of course it's not net core only. actual prerequisites targeting full .net framework follows:
(1) project targeting .net framework 4.6.1 , above.
(2) visual studio 2017 (important!) 15.3.0 update (also released) installed
before updating vs getting same error. after updating error gone , ef 2.0 package installed.
Comments
Post a Comment