Share via

ADO.Net Entity Data Model

Amit Patel 126 Reputation points
2021-04-20T04:05:49.657+00:00

When I try to add the ADO.Net Entity Data Model into my project, I am getting the following message -

"The Project's target framework does not contain Entity Framework runtime assemblies. Please review the target's framework information in the project's property page."

I tried checking the properties of the Project, but could not found the framework information.

Developer technologies | .NET | Other

Answer accepted by question author

Amit Patel 126 Reputation points
2021-04-26T14:35:35.627+00:00

@Daniel Zhang-MSFT
I installed the Framework 4.8, which helped to solve my problem.

Thank you for your help.

Was this answer helpful?

2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Daniel Zhang-MSFT 9,661 Reputation points
    2021-04-21T01:39:18.707+00:00

    Hi AmitPatel-5670,
    As DuaneArnold-0443 said that EF Core does not support the EDMX file format for models.
    And the best option to port these models, is to generate a new code-based model from the database for your application.
    More details please refer to this document.
    Best Regards,
    Daniel Zhang


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.