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
 
Thanks a lot! That brings another question, but I will start a new
post.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top