building wix managed Custom Actions in .net 4.0

删除回忆录丶 提交于 2019-12-11 00:45:47

问题


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:


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.



来源:https://stackoverflow.com/questions/3023790/building-wix-managed-custom-actions-in-net-4-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!