Windows Installer 安装项目不接受 VSOT Excell 插件的输出,因为架构不匹配

问题描述 投票:0回答:0

我正在将旧的 Excel 加载项从 32 位迁移到 64 位。原始源代码丢失了,所以我需要从旧的 MSI 机柜中重新打包 VBA 文件。我想构建一个包(MSI),其中包含:

  • 从旧插件(XLAM、XLA 和其他一些)更新 Excel 文件
  • 新的 VSTO Excell 加载项将在启动时将 VBA 模块加载到 Excell。

我已经配置了一个 Windows Installer 安装项目来打包插件的输出。

问题是我一直收到这个错误:

ERROR: File 'VSTOAddIn.dll' of project output 'Primary output from VSTOAddIn (Active)' targeting 'AMD64' is not compatible with the project's target platform 'x86'.

我已将在两个项目配置中找到的架构下拉菜单设置为“x64”。在构建管理器中,安装程序安装项目似乎与架构无关:

我是不是遗漏了什么或者我的方法完全错了?

visual-studio windows-installer vsto office-addins excel-addins
© www.soinside.com 2019 - 2024. All rights reserved.