How to tell if an assembly is .net 1.1 or .net 2.0
am 19.12.2007 00:42:35 von weisun.aaManually
Thanks!
Manually
Thanks!
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
--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
weisun.aa@ wrote:
> Manually
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.