System.Data.SqlClient is not supported on this platform

后端 未结 5 1209
孤街浪徒
孤街浪徒 2020-12-06 17:02

I\'m using ASP.NET Core 2 with Entity Framework Core 2.0.2. I created a context and Add-Migrations command in Package Manager Controller works fine.

How

5条回答
  •  不知归路
    2020-12-06 17:42

    I ran into the same issue a couple of days ago - I'm not sure what the underlying issue is, but reverting some of the EntityFrameworkCore nuget packages back to 2.0.0 seems to have resolved the issue for me. These are the packages I downgraded:

    
    
    
    
    

提交回复
热议问题