【发布时间】:2022-10-14 20:44:25
【问题描述】:
如何从我的 VSTO 项目中完全禁用或删除单击一次部署?
我按照本指南为我的办公室插件创建了一个 msi 安装程序:https://learn.microsoft.com/en-us/visualstudio/vsto/deploying-a-vsto-solution-by-using-windows-installer?view=vs-2022
我没有使用 clickonce 也不需要它,但是每次我删除下面的项目时,它们都会在我运行构建时返回
<IsWebBootstrapper>False</IsWebBootstrapper>
<BootstrapperEnabled>true</BootstrapperEnabled>
<PublishUrl>publish\</PublishUrl>
<InstallUrl />
<TargetCulture>en</TargetCulture>
<ApplicationVersion>1.0.0.0</ApplicationVersion>
<AutoIncrementApplicationRevision>false</AutoIncrementApplicationRevision>
<UpdateEnabled>true</UpdateEnabled>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>days</UpdateIntervalUnits>
<ProductName>MyAddIn</ProductName>
<PublisherName>Contoso</PublisherName>
<SupportUrl />
<FriendlyName>My Add-In</FriendlyName>
<OfficeApplicationDescription>My Add-In</OfficeApplicationDescription>
<LoadBehavior>3</LoadBehavior>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
【问题讨论】:
标签: c# .net vsto outlook-addin office-addins