Dll版本比较 [英] Dll Versions comparing

查看:90
本文介绍了Dll版本比较的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,有人可以帮我或告诉我从哪里开始!我正在尝试比较2个dll文件的版本,并编写一个程序,用它替换旧版本引用的旧dll文件。  ;代码仅在C#pls

Hi guys could someone pls help me or tell me where to start!I'm trying to compare the version of 2 dll files and write a program where it replaces the old dll file which has been referenced by the newer version.  Code only in C# pls

推荐答案

您需要参考DLL的文档和/或查看源代码。有各种可能性,它取决于DLL的开发人员。

You need to refer to the documentation of the DLLs and/or look at the source code. There are a variety of possibilities and it depends on the developer of the DLL.

除了
FileVersionInfo类
Castorix31提供了许多Windows API函数可能会有所帮助;请参阅
版本信息(Windows)。其中一些是供安装程序使用的。

In addition to the FileVersionInfo Class that Castorix31 provided there are many Windows API functions that might help; see Version Information (Windows). Some of them are intended for use by a setup program.

您要求做的事情通常由安装程序完成。我不知道当我们做"发布"时做了什么。管理程序;对于C ++项目,我们可以创建安装项目,自动完成所有这些或接近
。我在这里很模糊,因为你的问题很模糊。

The things you are asking to do are normally done by a setup program. I don't know what is done when we do a "publish" of a managed program; for C++ projects we can create setup projects that will do all of that automatically or nearly automatically. I am being vague here because your question is vague.


这篇关于Dll版本比较的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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