C# and dot Framework version

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

All,

I have some C# assemblies and I would like to know what version of the
framework was used to complie them i.e 1.0, 1.1 or 1.1 SP1 is this possible
to find out?

Thanks
Msuk
 
msuk said:
All,

I have some C# assemblies and I would like to know what version of the
framework was used to complie them i.e 1.0, 1.1 or 1.1 SP1 is this possible
to find out?

in ildasm you can see if an assembly requires .NET 1.0 (references
v1.0.3300 assemblies) or .NET 1.1 (references v1.0.5000 assemblies)

Finding out they are compiled against sp1 is not doable, as the
information is not in the assembly: .NET 1.1 has assemblies versioned on
1.1.4322.xxxx and SP1 has a higher buildnumber but these references
aren't in your compiled assemblies so hotfixes can be installed without
causing problems for your code.

FB

--
 
Back
Top