We use the project's installed EF runtime version to determine whether we can open specific edmx versions. However, during while creating new models, we open the edmx file before the NuGet package gets installed. If you try and create an EF5 model on a project targeting .NET Framework 4 (i.e. a v2 edmx), you receive the following error:
> The Entity Data Model Designer is unable to display the file you requested.
> The file references an XML namespace that is inconsistent with the target framework of the project. You can modify the XML namespace reference to match the project's target framework or edit the model in the XML Editor.
__Workaround:__
Close and re-open the model/edmx file after the NuGet package installation is complete.
> The Entity Data Model Designer is unable to display the file you requested.
> The file references an XML namespace that is inconsistent with the target framework of the project. You can modify the XML namespace reference to match the project's target framework or edit the model in the XML Editor.
__Workaround:__
Close and re-open the model/edmx file after the NuGet package installation is complete.