Assembly version from command line?

后端 未结 9 1510
慢半拍i
慢半拍i 2020-12-12 21:35

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

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

9条回答
  •  难免孤独
    2020-12-12 22:16

    If you use mono and linux, try this:

    monodis --assembly MyAssembly.dll
    
    find . -name MyAssembly.dll -exec monodis --assembly {} ';' | grep Version 
    

提交回复
热议问题