System.Data.SqlClient is not supported on this platform

后端 未结 5 1206
孤街浪徒
孤街浪徒 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:51

    Just in case somebody lands here who is trying to run System.Data.SqlClient on net50/netstandard on rid freebsd-x64: Microsoft.Data.SqlClient worked for me.

    Maybe this works on every portable option and/or for all System.[...] ->Microsoft.[...] dll.

提交回复
热议问题