dll - Assembly version from command line? -


Is there a Microsoft device to get the assembly version of a DLL file from a command line?

(I know that I can code my own device.)

< P> This is an area where power shield shines. If you do not have it already, install it, it is preinstalled with Windows 7.

Run this command line:

  [System.Reflection.Assembly] :: LoadFrom ("C: \ full \ path \ to \ YourDllName .dll"). GetName () Version  

outputs this:

  Major Short Build modifications ----- ----- - --- ----- --- 3 0 8 0  

Note that LoadFrom returns an assembly object, so that you can greatly love it. There is no need to write a program.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -