在 .net 4.0 中构建 wix 管理的自定义操作

发布于 2024-09-04 21:35:15 字数 183 浏览 6 评论 0原文

我们最近刚刚将所有代码库升级到 .net 4.0,并尝试使用 .net 4.0 在安装程序中构建自定义操作。

我们使用 wix 3.5 来做到这一点,我收到 BadImageException,说它使用比当前加载的.net 运行时更新版本构建。

wix 3.5 的 makexca 实用程序支持 .net 4.0 吗?

We just recently upgraded all our code base to .net 4.0, and are trying to build custom actions in our installer using .net 4.0.

We are using wix 3.5 to do that, I am getting BadImageException, saying its built using a newer version of .net runtime than currently loaded.

does wix 3.5's makesxca utility support .net 4.0 ?

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

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

发布评论

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

评论(1

哆兒滾 2024-09-11 21:35:15

您是否尝试过将 CustomAction.config 中的 版本更改为“v4.0”?我自己没有尝试过,这只是一个猜测。 这篇文章被引用作为解释。

Have you tried changing the <supportedRuntime> version in the CustomAction.config to "v4.0"? I didn't try myself, it is just a guess. This article is referenced as the explanation.

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