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?
            Asked
            
        
        
            Active
            
        
            Viewed 1,488 times
        
    1
            
            
        - 
                    7What happened when you tried it? – leppie Aug 26 '14 at 06:38
 - 
                    I haven't tried it yet. The library costs money, and the integration work is non-trivial. I figured this information should be readily available, and it wasn't. Now it is. – Josh Smeaton Aug 26 '14 at 07:19
 - 
                    3It is free for non-commercial use, so just testing it would fall under that category :) – leppie Aug 26 '14 at 07:26
 
2 Answers
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
 
- 
                    
 - 
                    @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