0

我正在为 Outlook 开发一个 Web 插件。我已经为加载项指定了 IconUrl。加载项出现在 Outlook for Windows 中。但是它会加载默认图标而不是我的个性化图标。

在此处输入图像描述

这是我的 XML 清单

<?xml version="1.0" encoding="UTF-8"?>
<!--Created:ce44715c-8c4e-446b-879c-ea9ebe0f09c8-->
<OfficeApp
          xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0"
          xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0"
          xsi:type="MailApp">

  <!-- Begin Basic Settings: Add-in metadata, used for all versions of Office unless override provided. -->

  <!-- IMPORTANT! Id must be unique for your add-in, if you reuse this manifest ensure that you change this id to a new GUID. -->
  <Id>badb297b-b8e8-41e1-9513-ff821c15189c</Id>

  <!--Version. Updates from the store only get triggered if there is a version change. -->
  <Version>1.0.0.0</Version>
  <ProviderName>my company- Meetings</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <!-- The display name of your add-in. Used on the store and various places of the Office UI such as the add-ins dialog. -->
  <DisplayName DefaultValue="My Company" />
  <Description DefaultValue="Outlook addin"/>  
  <IconUrl DefaultValue="https://localhost:44373/Images/Icon80.png"/>

4

1 回答 1

0

您应该使用在清单的 VersionOverrides 元素中定义的插件命令。见这里。具体来说,Resources 元素控制这个图标。

于 2018-03-26T09:16:28.220 回答