Entity Framework Core: DbContextOptionsBuilder does not contain a definition for 'usesqlserver' and no extension method 'usesqlserver'

前端 未结 30 3256
星月不相逢
星月不相逢 2020-12-13 03:14

I am new to EF core and I\'m trying to get it to work with my ASP.NET Core project.

I get the above error in my startup.cs when trying configure the

30条回答
  •  没有蜡笔的小新
    2020-12-13 03:39

    If you are facing this issue in case of Sqlite then

    . I think this is the problem with version of Sqlite,I had the same problem when I was using this versions of SqLite

    Version 2.2.4:

    After checking version here I changed the version then it worked.

    No error after using this

    Version 2.1.2:

提交回复
热议问题