问题
I'm thinking about using Awesomium.NET for a project I'm working on which is built with .NET 4.5. Awesomium.NET targets the .NET 4.0 Client Profile. Will it be OK to reference the 4.0 libraries from a 4.5 project?
回答1:
That should be fine, both .Net 4.0 and .Net 4.5 use CLR 4.
回答2:
In general, assemblies compiled in .NET 1.1 or later can be referenced in higher runtime (CLR) versions. However, you cannot reference an assembly compiled in 4.0 in runtime 3.0
来源:https://stackoverflow.com/questions/25499469/can-net-4-5-assemblies-reference-net-4-0-assemblies