Can the .NET CLR 4.0 execute CLR 2.0 code without application recompilation?

Folks -

I'm getting ready to deploy the .NET Framework 4.0 in my environment which includes the CLR 4.0.  I'd like to stop distribution of .NET 3.5 SP1 which includes CLR 2.0.  Am I shooting myself in the foot?

Can the CLR 4.0 in .NET 4.0 run CLR 2.0 code without recompilation?  Or do I need to continue distribution of BOTH Frameworks?

The managed libraries from 3.5 are in 4.0, along with the new 4.0 features, but the CLR is a whole new version and that's what worries me.

Any input would be appreciated.  Thanks!
Who is Participating?
manishkungwaniConnect With a Mentor Commented:
The CLR 4.0 cannot run CLR 2.0 code!

If the application is in .NET 4.0, you will need only CLR4, but if the application is in any version below 4, you will need the CLR version greater than or equal to (Below 4) the Target version of the app.
In addition
you can reduce .NET 4 sizes by Microsoft .NET Framework 4 Client Profile
amendalaAuthor Commented:
Precisely what I needed, thank you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.