如何在Mac上为AppSource编译MS Word加载项项目 [英] How to compile a MS Word add-in project for AppSource on a Mac

查看:138
本文介绍了如何在Mac上为AppSource编译MS Word加载项项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I've created an MS Word add-in using my Mac, and want to begin the process of submitting it for validation to AppSource. However, the process requires a package to be uploaded, and I haven't been able to find any documentation whatsoever on how to compile my project into the sort of package expected.

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

The page where you upload your package lists the following file types as being acceptable: .msix, .msixbundle, .msixupload, .appx, .appxbundle, .appxupload, .xap. I've downloaded Visual Studio for Mac, as there's some documents which describe using VS to compile a project to these sorts of packages, but see no way to import my existing project folder – nor any way to start a new Word Add-in project (or anything that sounds similar.)

我的项目是使用Yeoman办公项目生成器( https://github.com/OfficeDev/generator-office ),由您的标准React项目结构(package.json,webpack配置文件,src/components)以及manifest.xml文件组成.

My project is a React-based add-in created using the Yeoman office project generator (https://github.com/OfficeDev/generator-office), consisting of your standard React project structure (package.json, webpack config files, src/components) as well as my manifest.xml file.

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

To be clear, there is indeed a place within the Submission process which says:

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

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

However, when I attempt to upload my manifest.xml file using this interface, I receive the following errors:

- 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.

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

I've used manifest validation tools on my current manifest, and they tell me it's structurally valid as well as possesses all required fields. This, as well as the list of accepted filetypes mentioned in my comment below, is what leads me to believe that I'm expected to upload a specific compiled package type.

推荐答案

要提交Word加载项以发布到AppSource,您需要通过 .xml清单文件.

In order to submit a Word add-in for publication to AppSource you need to submit your add-in via the Seller Dashboard. You will need to submit a .xml manifest file.

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

For more information on how to submit your add-in to SellerDashboard please see here.

这篇关于如何在Mac上为AppSource编译MS Word加载项项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆