1

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?

Josh Smeaton
  • 47,939
  • 24
  • 129
  • 164

2 Answers2

4

That should be fine, both .Net 4.0 and .Net 4.5 use CLR 4.

T.J. Crowder
  • 1,031,962
  • 187
  • 1,923
  • 1,875
  • A .NET 4.5 assembly can't reference a .NET 2.0 assembly? – Cédric Bignon Aug 26 '14 at 06:42
  • @CédricBignon: I would be surprised if it couldn't (as Romano says, I'm pretty sure .Net is downward compatible anyway), but I haven't tried it, either. Knowing they use the same CLR gives me a rosy glow, however. :-) – T.J. Crowder Aug 26 '14 at 07:03
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

Raghu
  • 699
  • 7
  • 14