在 .net 4.0 中构建 wix 管理的自定义操作 [英] building wix managed Custom Actions in .net 4.0

查看:27
本文介绍了在 .net 4.0 中构建 wix 管理的自定义操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们最近刚刚将所有代码库升级到 .net 4.0,并尝试使用 .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.

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

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.

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

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

推荐答案

您是否尝试将 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.

这篇关于在 .net 4.0 中构建 wix 管理的自定义操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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