加载项因版本号覆盖和图标解析错误而被拒绝



我在尝试将外接程序发布到应用商店时收到以下验证错误:

  1. 版本号覆盖 清单中"版本覆盖"元素中的邮箱版本号必须大于或等于清单的"要求"部分中的邮箱版本。请更新清单并重新提交报价。

2.引用的高分辨率图标大小不正确 产品/服务清单或包中引用的图标必须为 128 x 128 像素,比例为 1:1。

当前分辨率为32*32像素。

请更新 URL 或引用的文件,然后重新提交报价。

这是清单文件:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<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">
<Id>d840334c-bca6-459f-8ce0-00016e3f4616</Id>
<Version>1.0.0.0</Version>
<ProviderName>CAT - Cognitive Automation Technologies</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="Zepto-ai"/>
<Description DefaultValue="Zepto email tracking"/>
<IconUrl DefaultValue="https://outlookaddins.zepto-ai.com/assets/probilly_icon32.png"/>
<HighResolutionIconUrl DefaultValue="https://outlookaddins.zepto-ai.com/assets/probilly_icon128.png"/>
<SupportUrl DefaultValue="https://user.zepto-ai.com/howto"/>
<AppDomains>
<AppDomain>outlookaddins.zepto-ai.com</AppDomain>
</AppDomains>
<Hosts>
<Host Name="Mailbox"/>
</Hosts>
<Requirements>
<Sets>
<Set Name="Mailbox" MinVersion="1.5"/>
</Sets>
</Requirements>
<FormSettings>
<Form xsi:type="ItemRead">
<DesktopSettings>
<SourceLocation DefaultValue="https://outlookaddins.zepto-ai.com/taskpane.html"/>
<RequestedHeight>250</RequestedHeight>
</DesktopSettings>
</Form>
</FormSettings>
<Permissions>ReadWriteItem</Permissions>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>
</Rule>
<DisableEntityHighlighting>false</DisableEntityHighlighting>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
<Requirements>
<bt:Sets DefaultMinVersion="1.5">
<bt:Set Name="Mailbox"/>
</bt:Sets>
</Requirements>
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<FunctionFile resid="Commands.Url"/>
<ExtensionPoint xsi:type="MessageReadCommandSurface">
<OfficeTab id="TabDefault">
<Group id="msgReadGroup">
<Label resid="GroupLabel"/>
<Control xsi:type="Button" id="msgReadOpenPaneButton">
<Label resid="TaskpaneButton.Label"/>
<Supertip>
<Title resid="TaskpaneButton.Label"/>
<Description resid="TaskpaneButton.Tooltip"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="64" resid="Icon.64x64"/>
<bt:Image size="80" resid="Icon.80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="Taskpane.Url"/>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
<ExtensionPoint xsi:type="MessageComposeCommandSurface">
<OfficeTab id="TabDefault">
<Group id="msgComposeGroup">
<Label resid="GroupLabel"/>
<Control xsi:type="Button" id="msgComposeOpenPaneButton">
<Label resid="TaskpaneButton.Label"/>
<Supertip>
<Title resid="TaskpaneButton.Label"/>
<Description resid="TaskpaneButton.Tooltip"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="64" resid="Icon.64x64"/>
<bt:Image size="80" resid="Icon.80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="Taskpane.Url"/>
</Action>
</Control>
</Group> 
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="Icon.16x16" DefaultValue="https://outlookaddins.zepto-ai.com/assets/probilly_icon16.png"/>
<bt:Image id="Icon.32x32" DefaultValue="https://outlookaddins.zepto-ai.com/assets/probilly_icon32.png"/>
<bt:Image id="Icon.64x64" DefaultValue="https://outlookaddins.zepto-ai.com/assets/probilly_icon64.png"/>
<bt:Image id="Icon.80x80" DefaultValue="https://outlookaddins.zepto-ai.com/assets/probilly_icon80.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="Commands.Url" DefaultValue="https://outlookaddins.zepto-ai.com/commands.html"/>
<bt:Url id="Taskpane.Url" DefaultValue="https://outlookaddins.zepto-ai.com/taskpane.html"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="GroupLabel" DefaultValue="Zepto-ai"/>
<bt:String id="TaskpaneButton.Label" DefaultValue="Track"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="TaskpaneButton.Tooltip" DefaultValue="Opens a pane displaying all available properties."/>
</bt:LongStrings>
</Resources>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
<Requirements>
<bt:Sets DefaultMinVersion="1.5">
<bt:Set Name="Mailbox"/>
</bt:Sets>
</Requirements>
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<FunctionFile resid="Commands.Url"/>
<ExtensionPoint xsi:type="MessageReadCommandSurface">
<OfficeTab id="TabDefault">
<Group id="msgReadGroup">
<Label resid="GroupLabel"/>
<Control xsi:type="Button" id="msgReadOpenPaneButton">
<Label resid="TaskpaneButton.Label"/>
<Supertip>
<Title resid="TaskpaneButton.Label"/>
<Description resid="TaskpaneButton.Tooltip"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="64" resid="Icon.64x64"/>
<bt:Image size="80" resid="Icon.80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="Taskpane.Url"/>
<SupportsPinning>true</SupportsPinning>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
<ExtensionPoint xsi:type="MessageComposeCommandSurface">
<OfficeTab id="TabDefault">
<Group id="msgComposeGroup">
<Label resid="GroupLabel"/>
<Control xsi:type="Button" id="msgComposeOpenPaneButton">
<Label resid="TaskpaneButton.Label"/>
<Supertip>
<Title resid="TaskpaneButton.Label"/>
<Description resid="TaskpaneButton.Tooltip"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="64" resid="Icon.64x64"/>
<bt:Image size="80" resid="Icon.80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="Taskpane.Url"/>
<SupportsPinning>true</SupportsPinning>
</Action>
</Control>
</Group> 
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="Icon.16x16" DefaultValue="https://outlookaddins.zepto-ai.com/assets/probilly_icon16.png"/>
<bt:Image id="Icon.32x32" DefaultValue="https://outlookaddins.zepto-ai.com/assets/probilly_icon32.png"/>
<bt:Image id="Icon.64x64" DefaultValue="https://outlookaddins.zepto-ai.com/assets/probilly_icon64.png"/>
<bt:Image id="Icon.80x80" DefaultValue="https://outlookaddins.zepto-ai.com/assets/probilly_icon80.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="Commands.Url" DefaultValue="https://outlookaddins.zepto-ai.com/commands.html"/>
<bt:Url id="Taskpane.Url" DefaultValue="https://outlookaddins.zepto-ai.com/taskpane.html"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="GroupLabel" DefaultValue="Zepto-ai"/>
<bt:String id="TaskpaneButton.Label" DefaultValue="Track"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="TaskpaneButton.Tooltip" DefaultValue="Opens a pane displaying all available properties."/>
</bt:LongStrings>
</Resources>
</VersionOverrides>
</VersionOverrides>
</OfficeApp>

我做错了什么,因为我将 DefaultMinVersion = 1.5 也放在版本覆盖的元素中,高分辨率链接实际上是指向 128x128 图像的链接。

应更新 IconUrl 以指向分辨率为 64x64 像素而不是 32x32 的图标,因为文档指出这是 Outlook 加载项 (https://learn.microsoft.com/en-us/office/dev/add-ins/reference/manifest/iconurl( 的建议图像大小。

相关内容

最新更新