2.0 dll being loaded with 2.0 or 1.1 runtime depending on connected user  
Author Message
nrolland





PostPosted: Common Language Runtime, 2.0 dll being loaded with 2.0 or 1.1 runtime depending on connected user Top

Hello,

I deployed a GACed 2.0 dll exposed as a COM component, and being called from Excel.

When logged under my account, the library is correctly loaded
Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Running under executable C:\PROGRA~1\MICROS~2\Office10\EXCEL.EXE

When logged under a colleague account, the 1.1 runtime is called :
Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\fusion.dll
Running under executable C:\PROGRA~1\MICROS~2\Office10\EXCEL.EXE



Where is this settings

Thanks in advance,
NR



.NET Development17  
 
 
nrolland





PostPosted: Common Language Runtime, 2.0 dll being loaded with 2.0 or 1.1 runtime depending on connected user Top

I have seen that the last installed version of the framework is supposed to be called.

It looks like it depends on WHO is logged on the machine as well.
Any idea where this is specified in the registry



PS : How can such a **** behaviour ship out of Microsoft
I mean there are millions of users, seriously, what a trouble for such a basic behaviour....