building wix managed Custom Actions in .net 4.0

2019-07-17 02:19发布

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 ?

1条回答
Ridiculous、
2楼-- · 2019-07-17 03:21

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.

查看更多
登录 后发表回答