我使用了约曼生成器,并建立了MS项目外接程序使用角度框架.现在,我想上载Office 365管理门户中的清单,以便在我们的组织中可用。
当我运行Office toolbox aka office validator时。我得到了下面的错误,最后得到了验证错误。
XML冲突:您的清单不符合Office外接程序清单的当前XML架构定义集。详细信息:这是一个无效的xsi:类型'http://schemas.microsoft.com/office/taskpaneappversionoverrides:Project‘。

我尝试使用最新版本的yo生成一个示例项目,该版本在验证方面也失败了。
yo --version
3.1.0在这方面需要帮助。
发布于 2019-09-09 23:45:39
我已经与MSFT的支持团队进行了互动。经过长时间的交谈,我终于发现,由于policy violations and overrides of element used,App中不接受由yeoman生成的XML。
下面是Manifest的简单方法,如果有人想发布他们的插件的话。
<?xml version="1.0" encoding="UTF-8"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TaskPaneApp">
<!-- IMPORTANT! Id must be unique for your add-in, if you reuse this manifest ensure that you change this id to a new GUID. Add your own below -->
<Id>your Guid</Id>
<!--Version. Updates from the store only get triggered if there is a version change. -->
<Version>1.0.0.0</Version>
<ProviderName>Your Company name</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="Add-in"/>
<Description
DefaultValue="Short Description"/>
<!-- Icon for your add-in. Used on installation screens and the add-ins dialog. -->
<IconUrl DefaultValue="Iconurl.com"/>
<HighResolutionIconUrl DefaultValue="Iconurl.com"/>
<SupportUrl DefaultValue="https://yourcompany.com/help"/>
<AppDomains>
<AppDomain>yourcompany.com</AppDomain>
</AppDomains>
<Hosts>
<Host Name="Project"/>
</Hosts>
<DefaultSettings>
<SourceLocation DefaultValue="https://yourcompany/index.html"/>
</DefaultSettings>
<Permissions>ReadWriteDocument</Permissions>
</OfficeApp>为了更好的理解,请阅读这些评论。希望它能帮助那些想把它发布到AppSource上的人。谢谢
https://stackoverflow.com/questions/57298872
复制相似问题