No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'.

后端 未结 10 2037
旧巷少年郎
旧巷少年郎 2020-12-09 14:37

We are using EntityFramework 6 with Code First. We have a console app that has no reference to EntityFramework but reads the connection string from its App.config. It call

10条回答
  •  天涯浪人
    2020-12-09 15:27

    Add "EntityFramework.SqlServer.dll" into your project bin folder will resolved your issue.

提交回复
热议问题