[nem-en] assembly versioning

NoiseEHC NoiseEHC at freemail.hu
Sun Feb 19 12:21:46 CET 2006


I already checked that numerous times. BTW it is better to check 
c:\windows\assembly\gac_msil
and c:\windows\assembly\nativeimages_v2.0.50727_32 since it will show 
all versions of files.

So the theory is that Nemerle.Compiler.dll gets linked against Nemerle, 
Version=0.9.2.0 while
we are loading Nemerle, Version=0.9.2.5. The problem is that 
Assembly.LoadFrom finds the
old Nemerle.dll loaded, and tries to use that. See:
http://blogs.msdn.com/suzcook/archive/2003/05/29/57120.aspx

Now here is a question, please take it literally. Is the loading of 
assemblies the result of deep
understanding of the fusion loader or is it just the end result of 
tweaking? In the latter case we
should try to use Assembly.Load if the assembly reference is a 
partial/full assembly name,
or Assembly.LoadFile if it is an exe or dll...

Kamil Skalski wrote:
> 06-02-17, NoiseEHC <NoiseEHC at freemail.hu> napisał(a):
>   
>> Now, if I ngen uninstall ALL nemerle executables it compiles with 1000
>> warnings like:
>> ../macros/Profiling.n:112:3:121:4: warning: using type `[Nemerle,
>> Version=0.9.2.5, Culture=neutral, PublicKeyToken=e080a
>> 9c724e2bfcd]Nemerle.Utility.Identity`2' that was defined in more than
>> one assembly:  `[Nemerle, Version=0.9.2.0, Culture
>> =neutral, PublicKeyToken=e080a9c724e2bfcd]Nemerle.Utility.Identity`2'
>> (the first version was used)
>>     
>
> This happens sometimes for me when bootstraping compiler (using our
> standard build system). I'm not sure what is the exact cause of this,
> but probably it is realted to some older version of Nemerle.dll
> installed into GAC. Could you verify that in WINDOWS\assembly\ view
> there is no Nemerle.dll?
>
> --
> Kamil Skalski
> http://nazgul.omega.pl
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>   



More information about the devel-en mailing list