Visual Studio 2012 question:
Recently installed 2012 (2010 was on here already) ... downloaded project from TFS ... went to run the project and it needed EntityFramework ... Installed EntityFramework from NuGet ...
Here's the problem: now it is throwing an error:
Could not load file or assembly 'EntityFramework, Version=4.1.0.0, Culture=neutral, PublicKeyToken=...' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
With this error, we searched and found that a way to get this resolved would be to clear the instance from the GAC. I went to clear the GAC from the Visual Studio Command Prompt (which, BTW, it only came up with the 2010 command prompt) using the command:
gacutil /u "EntityFramework ..."
Which returned:
- No assemblies found matching: EntityFramework
- Number of assemblies uninstalled = 0
- Number of failures = 0
So I was wondering if anyone may have encountered this issue and found a solution -or- if someone may have a solution to the overall problem. Thanks!