What CLR/JIT version compiles my 1.1 IL code ?

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
 
R

Rory Becker

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
 
G

Guest

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# .....
 
G

Guest

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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top