简体   繁体   中英

Use .NET 4.0 DLL on a machine with .NET 3.5?

I am in the process of testing a program (class library). The class library (dll) is testing on various systems: .NET Frameworks 3.0, 3.5 and 4.0. Is it possible to test it on .NET 3.0 and 3.5 without having to upgrade the .NET version?

No you can not do that, but its the other way around, you can test 3.5 dll on .Net framework 4.0. An assembly compiled with .NET 4.0 can be loaded only by the CLR 4.0

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM