Why can't my .NET 4.5 project use a DLL compiled for .NET 4? (Both use EF 5)
问题 I have an application that consists of a client-side application and a WebApi website. My client-side stuff is targetting .NET 4 so that I don't have to insist that users install .NET 4.5. My website, however, is entirely under my control, so I'm targetting .NET 4.5. There is one shared assembly, which I use for data access. It uses Entity Framework 5. When I build the client application, the DLL used is version 4.4.xxx, whereas when I build the web application, the DLL is 5.0.xxx. Up until