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

Re: What CLR/JIT version compiles my 1.1 IL code ? by Rory

Rory
Thu Jun 07 16:20:06 CDT 2007

> 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



Re: What CLR/JIT version compiles my 1.1 IL code ? by genc_ymeri

genc_ymeri
Thu Jun 07 17:27:02 CDT 2007

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




"Rory Becker" wrote:

> > 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
>
>
>

Re: What CLR/JIT version compiles my 1.1 IL code ? by genc_ymeri

genc_ymeri
Fri Jun 08 10:32:00 CDT 2007

> Ok the definative answer would seem to be here....
> http://msdn2.microsoft.com/en-gb/library/9w519wzk.aspx
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,
--
Genc Ymeri
Sr. Software Engineer
Chantilly, VA


"Rory Becker" wrote:

> > ... More research needed I think.
> >
>
> Ok the definative answer would seem to be here....
> http://msdn2.microsoft.com/en-gb/library/9w519wzk.aspx
>
>
>