打包 Office 加载项

Package an office add-in

我正在打包我的 Office 加载项以发布它。

似乎在 Visual Studio 中打包加载项比手动打包更容易。但 Visual Studio我还没有开发。源代码仅包含一个 .xml、一个 .html 和几个 .js 文件。在这种情况下,我是否必须先用这些文件制作解决方案.sln

另外,this page是否适用于Office Add-in的打包?在测试办公室加载项解决方案中,首先找不到 package.appxmanifest.xml,然后在 right-clicking the project.

之后找不到 Store->Create App Packages

您无需创建任何类型的 "package" 即可发布您的加载项。 .xml 清单文件本身是 Office 应用程序需要引用的唯一文件(该文件的内容指向其他信息)。

在发布之前,您应该将 HTML/JS/CSS 资源托管在 HTTPS 可访问的位置

如果您想发布到 商店,您需要转到 sellerdashboard.microsoft.com and upload the .xml manifest file and other separate information, such as a description, category, and end-user license agreement. Here are the instructions for submitting to the Store

如果您想发布到 企业,请将 .xml 文件提供给 IT 管理员,他们可以使用 enterprise publishing instructions.

-Michael(Office 加载项的 PM)