Search code examples
c#entity-framework-6visual-studio-2017ado.net-entity-data-model

Adding "ADO.NET Entity Data Model" uses Entity Framework 6.1.3


I have a question for my understanding:

When I add a new "ADO.NET Entity Data Model" to my Console-Application, Visual Studio 2017 will use the Entity Framework 6.1.3 from NuGet. Why is it not using the newest Version (resp. the on NuGet as "Current Version" marked) of Entity Framework (6.2.0)?


Solution

  • Curently (as on writing on 2018-04-23) the EF6 tools are version 6.1.3, the last EF6 runtime is 6.2.0.

    Where are the EF 6.2 tools for Visual Studio?

    We decided that we still needed to complete some work on the tools before we could declare them “final”. However, it did not make sense to delay the release of the runtime packages:

    • The EF 6.2 runtime is fully compatible with released versions of our Visual Studio tools. You should only need to manually upgrade the NuGet packages in your applications.

    In the repository I can see the tag for 6.2 tools. With Visual Studio 2017 15.7 you'll get the EF 6.2 tools

    Support for the Entity Framework 6.2 Runtime: Creating an EF model in a project that does not reference EF will now install the EF 6.2 NuGet package by default.

    Currently with Visual Studio 2017 Update 15.6.x update the nuget packages to 6.2 until the 6.2 tools gets released with 15.7 update.