我有一个Excel VSTO AddIn,并将其升级到了Excel 2007/VS2010。我尝试使用ClickOnce,但涉及的麻烦无法克服,每次安装都需要手动进行。我转而使用MSI安装程序,但现在升级时出现问题。我现在有一台机器无法正确安装它,当我尝试手动运行VSTOInstaller.exe时,我会得到以下错误。我已经清理了系统上的所有内容,并尝试多次使其正常工作,但都失败了。通常会在“用户\Apps\Local...”区域创建大量的垃圾文件,但现在什么也没有。我尝试了各种配置进行重建,但结果都是相同的错误提示: System.Runtime.InteropServices.COMException (0x800736B3): The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.GetManifests(TimeSpan timeout)
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()
基本上,我讨厌ClickOnce,现在我完全感到沮丧。如何为VSTO创建“正常”的设置应用程序呢?谢谢!