You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 11, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 11, 2020. It is now read-only.
VS 2017RC migration (EF 6x/.NET 4.6 reference issue) #1001
I have a ASP.NET Core web project that references a business layer, that references a data layer.
The data layer is a .NET 4.6.2 project with EF 6x.
[Web (aspnetcore)] --> [BLL (aspnetcore)] --> [DAL (net46)]
This works fine in VS2015/project.json world.
The VS2017 migration went well without errors. I get this error when running the project.
"InvalidOperationException: No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient' Make sure the provider is registered in the 'entityFramework' section of the application config file"
Installing EF6 in my web project solves the problem but that is obviously not a solution.
Not sure if this is the right place for this.
I have a ASP.NET Core web project that references a business layer, that references a data layer.
The data layer is a .NET 4.6.2 project with EF 6x.
[Web (aspnetcore)] --> [BLL (aspnetcore)] --> [DAL (net46)]
This works fine in VS2015/project.json world.
The VS2017 migration went well without errors. I get this error when running the project.
"InvalidOperationException: No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient' Make sure the provider is registered in the 'entityFramework' section of the application config file"
Installing EF6 in my web project solves the problem but that is obviously not a solution.
Advice is appreciated!