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

后端 未结 10 2029
旧巷少年郎
旧巷少年郎 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

    I tend to add EntityFramework to the web project as well as the assembly that actually references it.

提交回复
热议问题