如何检查程序集(dll)的版本? [英] How to check the version of an assembly (dll)?

查看:30
本文介绍了如何检查程序集(dll)的版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 c# 应用程序,当我进行更改时,我收到错误消息:

I have c# application and when I made a change, I am getting the error message:

'System.TypeLoadException' 类型的未处理异常发生在WindowsFormsApplication1.exe

An unhandled exception of type 'System.TypeLoadException' occurred in WindowsFormsApplication1.exe

附加信息:无法加载类型
来自程序集的TradeIdeas.TIProData.OddsMakerColumnConfiguration"'TIProData,版本=1.0.0.0,文化=中性,PublicKeyToken=null'.

Additional information: Could not load type
'TradeIdeas.TIProData.OddsMakerColumnConfiguration' from assembly 'TIProData, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’.

此消息表示 dll (TIProData) 的版本号为 1.0.0.0.我认为有可用的更高版本.如何知道我机器上某个 dll 的版本号?

This message says the version number of dll (TIProData) is 1.0.0.0. I think there is a later version available. How can I tell the version number of a dll on my machine?

推荐答案

您可以使用 反射器ILDASMILSpy 以获取程序集版本.

You can use Reflector, ILDASM or ILSpy to get the assembly version.

您通常可以在 C:Program Files (x86)Microsoft SDKsWindowsv8.1AinNETFX 4.5.1 Toolsildasm.exe 中找到 ILDASM(其中 v8.1A 是安装的 Windows SDK 的版本).

You usually can find ILDASM in C:Program Files (x86)Microsoft SDKsWindowsv8.1AinNETFX 4.5.1 Toolsildasm.exe (where v8.1A is the version of the Windows SDK installed).

ILDASM:

反射器:

这篇关于如何检查程序集(dll)的版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆