繁体   English   中英

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

[英]How to compile a MS Word add-in project for AppSource on a Mac

我已经使用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.

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

为了将Word加载项提交发布到AppSource,您需要通过Seller Dashboard提交您的加载项。 您将需要提交一个.xml清单文件。

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM