请确保该文件是 Office 加载项清单

Please make sure that the file is an Office Add-in manifest

我正在尝试发布一个 Excel 加载项,这里是 manifest.xml 我要提交给 sellerdashboard

<?xml version="1.0" encoding="UTF-8"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TaskPaneApp">
  <Id>ab2991e7-fe64-465b-a2f1-c865247ef434</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Microsoft</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="AppName" />
  <Description DefaultValue="AppName"/>
  <Capabilities>
    <Capability Name="Workbook" />
  </Capabilities>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://www.example.com/Home.html" />
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>
</OfficeApp>

但是,我收到一条消息 Please make sure that the file is an Office Add-in manifest。因此,当我单击页面底部的 NEXT 时,它显示 Please enter an app version.,它应该从 xml 文件中自动填充。

有人能帮忙吗?

您可能在第一个 <?xml 之前有一个 space 或一个空行。确保第一个字符是 <.

另一个问题是这是使用 v1.0 清单。商店需要 v1.1。 v1.1 清单记录在案 here

2016 年 7 月 1 日之后,还需要商店提交支持 Add-in Commands Word、PowerPoint 和 Excel(已经需要 Outlook)。