How to know which NET version DLL file is

Source: Internet
Author: User
Tags mscorlib
Sometimes it is often necessary to look at the. NET version used by the. dll, because it is not known whether it is using 1.1 or 2.0, or 3.0, this time if you need to open vs.net that is too much trouble, so after a long period of groping, I found a more convenient way.

Is the SDK comes with the Ildasm.exe tool, which is an anti-compilation tool, you can view the compiled DLL files.
If your vs.net is installed on the D drive, this file is typically D:/program Files/microsoft the Visual Studio. NET 2003/sdk/v1.1/bin folder.

Double-click Ildasm.exe to drag the. dll file you want to identify and decompile it. Then in the ILDASM, double-click the first row of manifest, the front five lines will resemble the following display, attention must be mscorlib

. assembly extern mscorlib
{
. PublicKeyToken = (B7 7A 5C E0) //. Z/v.4.
. ver 1:0:5000:0
}

When you see. ver 1:0:5000:0, prove that it was compiled under the. net1.1 version; If you see a. ver 2:0:0:0, prove that it was compiled under the. net2.0 version.

How to know which NET version DLL file is

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.