locked
Installing Entity Framework Per Project RRS feed

  • Question

  • User1231829591 posted

    Hi everyone,

    I already installed Entity Framework in one of my projects but I had to delete the project and start over. I tried to look for Entity Framework in the References under Assemblies when creating a new project but to my surprise I did not find it. I thought you only have to install it once and you can use it in any project afterwards.

    Wednesday, December 16, 2015 5:29 AM

Answers

  • User1231829591 posted

    Hi thanks for replying, at first I thought I only had to install EF just once then I can use it with any project after installation.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, December 16, 2015 6:00 AM

All replies

  • User603616845 posted

    Hi,

    Installing Entity Framework Per Project

    You can use Nuget to install Entity Framework with every project.

    To install EntityFramework, run the following command in the Package Manager Console

    PM> Install-Package EntityFramework -Version 4.1.10715

    or

    PM> Install-Package EntityFramework

    hope this will help you.

    thanks

    Wednesday, December 16, 2015 5:56 AM
  • User1231829591 posted

    Hi thanks for replying, at first I thought I only had to install EF just once then I can use it with any project after installation.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, December 16, 2015 6:00 AM
  • User1724605321 posted

    Hi ManyTitles ,

    How do you install EF ? Are you installed the EntityFramework package by right-clicking on the References folder of your project and selecting Manage NuGet Packages ? It will apply EF to current project . Anyway ,try to re-install EF from Manage NuGet Packages :

    PM> Install-Package EntityFramework

    Best Regards,

    Nan Yu

    Wednesday, December 16, 2015 6:04 AM
  • User1231829591 posted

    Hi Nan, thanks for replying. I installed EF with Nuget.

    Wednesday, December 16, 2015 6:50 AM