如何让 Word 加载项显示在 Mac Word 2016 中?

How do you get a Word add-in to show in Mac Word 2016?

我正在尝试遵循 Mac Word 2016 的基本概念验证 office.js / 加载项。

我可以看到添加加载项的功能,但是 none 我的清单显示。

参考:Office.js for Word 2016 Mac.

说明要求将 xml 放入名为 "wef" 的文件夹中...这是我的 wef 的路径: /Users/11trees/Library/Containers/com.microsoft.Word/Data/Documents/wef

所有说明都建议使用以下路径(因此没有具体的用户名): Users/Library/Containers/com.microsoft.word/Data/Documents/wef

也许我遗漏了一些非常明显的东西...或者位置差异并不是我的清单未显示的原因。

我使用的清单是来自网络的 Boilerplate 和 SillyStories 示例 - 逐字记录。

感谢您的帮助。

更新清单:

<?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">
    <Id>0e978793-8a1a-43c9-b8bb-762db69bdfae</Id>
    <Version>1.0.0.0</Version>
    <ProviderName>11trees</ProviderName>
    <DefaultLocale>en-US</DefaultLocale>
    <DisplayName DefaultValue="Boilerplate content" />
    <Description DefaultValue="Insert boilerplate content into a Word document." />
    <Hosts>
        <Host Name="Document"/>
    </Hosts>
    <DefaultSettings>
        <SourceLocation DefaultValue="http://127.0.0.1:8080" />
    </DefaultSettings>
    <Permissions>ReadWriteDocument</Permissions>
</OfficeApp>

/Users/11trees/Library/Containers/com.microsoft.Word/Data/Documents/wef 是 11trees.

的正确路径

当您 select 插入选项卡 > 我的加载项时,您 select 是按钮还是按钮的下拉部分?加载项应列在下拉列表中。如果不是,则清单可能有错误。你能 post 你的清单吗?

6 月 6 日更新:评论似乎导致 Word 无法注册清单。当我删除 SillyStories 清单中的评论时,我可以在下拉列表中看到加载项。

样板内容清单对我来说在 15.22 (160501) 版中运行良好