Windows 的 Outlook 加载项功能区图标不会仅显示在 Outlook 应用程序上

Outlook add-in ribbon icon doesn't show up only on Outlook app for Windows

我正在为 Outlook 开发一个用于“约会”选项卡的加载项。我的问题是初始化加载项的功能区图标未显示正确的图标(最终回落到 Microsoft 的默认蓝色六边形),但仅在 Windows Outlook 应用程序上显示。 该图标在 Mac 的 Outlook 和 Outlook Web 客户端上正确显示。

已尝试将图标大小调整为 64x64 和 128x128(高分辨率),删除并重新安装加载项,并通过清单验证程序进行验证。一切似乎都很好,但问题仍然存在。

这些是我认为与问题相关的清单部分(URL 已替换为 localhost)(如果我遗漏了任何内容,请随时询问其他部分。

<IconUrl DefaultValue="https://localhost:8080/assets/icon-dark-64.png" />
<HighResolutionIconUrl DefaultValue="https://localhost:8080/assets/icon-dark-128.png" />
<DesktopFormFactor>
    <FunctionFile resid="functionFile" />
    <ExtensionPoint xsi:type="AppointmentOrganizerCommandSurface">
        <OfficeTab id="TabDefault">
            <Group id="meetingGroup">
                <Label resid="groupLabel" />
                <Control xsi:type="Button" id="meetingOpenPaneButton">
                    <Label resid="paneMeetingButtonLabel" />
                    <Supertip>
                        <Title resid="paneMeetingSuperTipTitle" />
                        <Description resid="paneMeetingSuperTipDescription" />
                    </Supertip>
                    <Icon>
                        <bt:Image size="16" resid="icon16" />
                        <bt:Image size="32" resid="icon32" />
                        <bt:Image size="64" resid="icon64" />
                        <bt:Image size="80" resid="icon80" />
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                        <SourceLocation resid="messageMeetingTaskPaneUrl" />
                    </Action>
                </Control>
            </Group>
        </OfficeTab>
    </ExtensionPoint>
</DesktopFormFactor>
<Resources>
    <bt:Images>
        <bt:Image id="icon16" DefaultValue="https://localhost:8080/assets/icon-dark-16.png" />
        <bt:Image id="icon32" DefaultValue="https://localhost:8080/assets/icon-dark-32.png" />
        <bt:Image id="icon64" DefaultValue="https://localhost:8080/assets/icon-dark-64.png" />
        <bt:Image id="icon80" DefaultValue="https://localhost:8080/assets/icon-dark-80.png" />
    </bt:Images>

    ... <!-- Other resources -->
</Resources>

所有图像 URI,例如用于 add-in 命令的 URI,都必须支持缓存。托管图像的服务器不应 return a Cache-Control header 在 HTTP 响应中指定 no-cache、no-store 或类似选项。查找更多详细信息 here