c# - WiX 自定义操作 - 构建失败

标签 c# visual-studio-2015 wix windows-installer

我正在尝试使用 C# 构建示例 WiX 自定义操作。我在 VS 2015 社区版中使用“C# 自定义操作项目”模板创建了 TestCustomActions 项目。

我无法构建它。它不断抛出以下错误-

C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3832,5): error MSB3030: Could not copy the file "C:\TestCustomActions\obj\x86\Release\TestCustomActions.CA.dll" because it was not found.

看起来,未生成非托管 CA.dll。任何想法,可能是什么问题?

最佳答案

据我所知,至少对我而言,它是 Comodo 的 AutoSandbox。 使 VisualStudio 和 MakeSfxCA.exe 在沙箱外运行,构建工作正常。

关于c# - WiX 自定义操作 - 构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42399606/

相关文章:

C# - 使用文本框编写日志

c++ - 为什么两个指针之间的差异不等于类型的大小?

visual-studio - 如何使用 VS2015 远程运行测试?

service - WiX ServiceControl在卸载时停止服务,但不要在安装时启动它

c# - 如何以编程方式检查变量是否接近 x?

c# - Unity 和 Unity.WebApi 包有什么区别

asp.net - 在 App_Code 目录中调试较长的编译时间

Wix 返回错误 "No CA or UI entry points found in module"但在 dll 中使用了 [CustomAction]

wix - 使用注册表检测安装的 MS Office 是 32 位还是 64 位

c# - 具有 volatile 或内存屏障的双锁