How to tell if an assembly is .net 1.1 or .net 2.0

  • Thread starter Thread starter weisun.aa
  • Start date Start date
You can use the Corflags.exe tool from the .NET 2.0 SDK. Or look at
what version of mscorlib the assembly references with a tool like
Ildasm or Reflector.

Programmatically, check Assembly.ImageRuntimeVersion.


Mattias
 
weisun.aa@ said:

Open it in a text editor. Somewhere in the first couple of KB or so it will
mention mscorlib being version 1.0.5000.0 or 2.0.0.0.

Andrew
 
Back
Top