Skip to content
This repository was archived by the owner on Apr 11, 2020. It is now read-only.
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

Description

@freshe

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions