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