What CLR/JIT version compiles my 1.1 IL code ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello there,
I have Framework 1.1 and 2.0 installed both in my PC. When my IE hosts/runs
a .Net(C#) applet written in Framework 1.1, what version of my framework
(CLRs/JIT)compiles the control in binary code, the 2.0 or 1.1 ?


Genc Ymeri
Sr. Software Engineer
Chantilly, VA
 
I have Framework 1.1 and 2.0 installed both in my PC. When my IE
hosts/runs
a .Net(C#) applet written in Framework 1.1, what version of my
framework
(CLRs/JIT)compiles the control in binary code, the 2.0 or 1.1 ?

Assuming that you don't force a specific framework to run your exe/dll via
configuration, the latest framework will run your code.

In this case 2.0
 
In this case 2.0
I have to admit that this came as a surprise to me. Any link to any
articles ?
Thanks a lot,

--
Genc Ymeri
Sr. Software Engineer
Chantilly, VA


PS:
Can't believe I missed something like that when I read Jeff Richter's CLR
with C# .....
 
Ok the definative answer would seem to be here....
Rory,
Thank you very much for your reply. The above 'definative' answer from MSDN
was basically what I 'knew' :
MSDN: "If the version of the .NET Framework that the application was built
against is present on the computer, the application runs on that version..."

but that's not what I excactly see. My 1.1 userControl works only if I
configure Framework 2.0 policies...... which leads me thinking CLR 2.0 is
involved too.

I'm still puzzled !

Thanks,
 
Back
Top