> Hi Mattias,
>
[quoted text clipped - 11 lines]
>
> What is version 1:0:5000:0 ??
It's the version of mscorlib.dll.
> If I go to mscorlib.dll and look at its file version, it says:
> 1.1.4322.573
The file version you see in explorer is determined by an old-style Win32
VERSION_INFO resource. It is separate from the version defined in the
assembly manifest. The VB.NET and C# compilers by default emit a
VERSION_INFO resource that mirrors the assembly version info. It is
perfectly possible to add in a Win32 resource file yourself during
compilation time, in which case the compiler will not generate this info. So
the two version numbers need not match. And in the case of most of the
Framework Class Library files, they don't. Why MS chose to do this I don't
know.
> So why doesn't ILDASM show this too?
ILDASM knows nothing about Win32 resources, and the .Net assembly loader
doesn't either. If you open mscorlib.dll in ILDASM, you'll see the assembly
version defined in its manifest is in fact 1:0:5000:0:
.assembly mscorlib
{
.ver 1:0:5000:0
}

Signature
Sven Groot
http://unforgiven.bloghorn.com
Z D - 05 May 2004 16:08 GMT
Sven,
Thank's very much for your response. I get it now! :)
-ZD
> > Hi Mattias,
> >
[quoted text clipped - 37 lines]
> .ver 1:0:5000:0
> }