ErikEJ / EntityFramework6PowerTools

This is the codebase for Entity Framework 6 Power Tools Community Edition, and modern EF 6 providers for SQL Server and SQL Server Compact
Other
183 stars 27 forks source link

Cast issue from EF 5 to EF 6 ? #56

Closed sphildreth closed 5 years ago

sphildreth commented 5 years ago

Greetings, I click on "View Entity Model (Read-Only)" in Visual Studio on my Context and I get this error:

image

From my packages.config for the project: <package id="EntityFramework" version="6.2.0" targetFramework="net471" />

Visual Studio Enterprise 15.9.9 on Windows 10.

ErikEJ commented 5 years ago

Maybe check if you have entityframework.dll in GAC, and then remove it

sphildreth commented 5 years ago

I removed and reinstalled Entity Framework Tools in Visual Studio setup and it starting working.