I have a .NET 4.0 class that uses only .Net 2.0 features. To make this library more compatible with Mono, I am considering changing the Target Framework to 2.0 instead of the 4.0 Client Profile.
But the question is: does Target Framework change to an older version, slows down the library (degrades performance). The GUI of the application will continue to target 4.0, so the entire Windows PC running the application will have version 4.0 installed. Will my library 2.0 be executed by the 4.0 JIT compiler (performance should be the same) or an older version of JIT 2.0 (performance may be slower)?
source
share