如何在Mac上为AppSource编译MS Word加载项项目

时间:2019-02-14 16:27:30

标签: macos ms-word office-store appsource

我已经使用Mac创建了MS Word加载项,并希望开始将其提交给AppSource进行验证的过程。但是,此过程需要上传一个程序包,而我却找不到任何有关如何将我的项目编译成所需程序包的文档。

上载软件包的页面列出了可接受的以下文件类型:.msix, .msixbundle, .msixupload, .appx, .appxbundle, .appxupload, .xap。我已经下载了Mac的Visual Studio,因为有些文档描述了使用VS将项目编译为这些类型的程序包,但是看不到导入现有项目文件夹的方法,也看不到任何启动新Word加载项项目的方法。 (或听起来类似的任何内容。)

我的项目是使用Yeoman办公项目生成器(https://github.com/OfficeDev/generator-office)创建的基于React的加载项,还包括您的标准React项目结构(package.json,webpack配置文件,src / components)作为我的manifest.xml文件。

编辑:

要清楚,在提交过程中确实有一个地方说:

Drag your packages here (.msix, .msixbundle, .msixupload, .appx, .appxbundle, .appxupload, .xap) or browse your files.

但是,当我尝试使用此界面上传manifest.xml文件时,出现以下错误:

- You must provide a package that supports each selected device family (or uncheck the box for unsupported device families). Note that targeting the Xbox device family requires a neutral or x64 package.

- You must upload at least one package. If you are using market groups, then each market group must have at least one package.

- You must fix all package validation errors before submitting.

- Package acceptance validation error: manifest.xml is an unknown package type. Please name your file with the appropriate file extension.

我在当前清单上使用了清单验证工具,它们告诉我它在结构上有效,并且具有所有必填字段。这以及下面我的评论中提到的可接受文件类型列表,使我相信我应该上传特定的编译包类型。

1 个答案:

答案 0 :(得分:0)

要提交Word加载项以发布到AppSource,您需要通过Seller Dashboard提交加载项。您将需要提交.xml manifest file.

有关如何将加载项提交到SellerDashboard的更多信息,请参见here