如何从 Wix 3.5 设置 .NET dll 的程序集版本?

发布于 2024-10-07 22:41:40 字数 215 浏览 0 评论 0原文

我们使用 VS2010 和 Wix 3.5 我们创建 3 个合并模块,然后创建 1 个将所有合并模块捆绑在一起的 msi。 我们希望能够为合并模块中的每个 dll 分配程序集版本。一个合并模块中的所有 dll 可以具有相同的程序集版本,但每个合并模块将具有不同的版本。 我们尝试使用 Module 标记中的 Version 属性来执行此操作,但这并没有达到目的。我们看不到 dll 的任何版本号。 你如何做到这一点?

We are using VS2010 with Wix 3.5
We create 3 merge modules and then 1 msi that bundles all of the merge modules together.
We would like to be able to assign assembly versions to each dll in the merge modules. All of the dll's in one merge module can have the same assembly version, but each merge module will have a different version.
We tried doing this using the Version attribute within the Module tag but this did not do the trick. We cannot see any version number on the dll's.
How do you do this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冬天的雪花 2024-10-14 22:41:40

AssemblyInfo.cs 文件中包含的版本信息。每个 DLL 必须引用一个 AssemblyInfo.cs 才能使用一个版本。

Version info contained in AssemblyInfo.cs file. Each you DLL must have reference one AssemblyInfo.cs to use one version.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文