如何将Office加载项发布到Windows应用商店 [英] How do I release an Office Add In to the Windows Store

查看:546
本文介绍了如何将Office加载项发布到Windows应用商店的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Visual Studio 2015创建了一个Office加载项.该加载项在调试模式下与MSProject完美配合.

I've created an office add in using Visual Studio 2015. The add in works perfectly with MSProject in debug mode.

我已按照此处的说明发布了该添加项.到目前为止一切顺利.

I've published the add in following the instructions here. So far so good.

现在,我想将其发布到Microsoft Windows Store.我已经登录了卖方仪表板,而我几乎首先跌倒了.

Now I'd like to release it to the Microsoft Windows Store. I've logged into the Seller Dashboard and I pretty much fall at the first hurdle.

它询问应用程序包清单文件. TBH我不确定它到底要哪个文件,所以我尝试了

It asks for the app package manifest file. TBH I'm not sure which file it wants exactly, so I tried

  1. xxx.OfficeAddin.vsto文件位于发布"目录的根目录中
  2. 发布/应用程序文件/xxx.OfficeAddin_1_0_0_2目录中的
  3. xxx.OfficeAddin.dll.manifest
  4. xxx.OfficeAddin.vsto 也在发布/应用程序文件/xxx.OfficeAddin_1_0_0_2中 目录
  1. xxx.OfficeAddin.vsto file in the root of the "publish" directory
  2. xxx.OfficeAddin.dll.manifest in the publish/Application Files/xxx.OfficeAddin_1_0_0_2 directory
  3. xxx.OfficeAddin.vsto also within the publish/Application Files/xxx.OfficeAddin_1_0_0_2 directory

我认为它想要No2,但是它没有用,所以我尝试了所有方法.它们都不起作用,并且都导致相同的错误:

I assume it wants No2 but it didn't work so I tried them all. None of them work and all result in the same error:

您的清单未引用任何受支持的Office加载项名称空间.最新版本是 http://schemas.microsoft.com/office/appforoffice/1.1.了解更多

在引号中搜索此错误不会返回任何内容,不带引号-负载不相关的结果.

Googling this error in quotes returns nothing, without quote - a load of unrelated results.

我现在完全迷住了-有人设法做到这一点吗?

I'm completely stumped now - has anyone managed to do this?

推荐答案

您无法将VSTO桌面应用程序添加到Windows应用商店中,但可能很快就可以添加.

You cannot add VSTO desktop applications to the Windows store, but may be able to do so soon.

Windows应用商店旨在安装将在私有沙箱中运行的应用程序,这些应用程序可使应用程序与操作系统和其他应用程序保持隔离(以防万一).但是,桌面应用程序通常具有注册表项,dll依赖项和其他客户端要求.由于Windows应用商店无法满足这些与操作系统相关的要求和客户端要求,因此当前无法通过Windows应用商店分发桌面应用程序

The Windows Store was designed for installing applications that would run in private sandboxes that would keep apps isolated (in case of issues) from your operating system and other applications. However, Desktop applications often have registry entries, dll dependencies, and other client-side requirements. Because the Windows Store cannot accommodate these OS-related and client-side requirements, desktop applications cannot currently be distributed via the Windows Store

幸运的是,Microsoft终于解决了这个问题.他们正在完成百年纪念项目,这将使转换桌面应用程序以通过Windows应用商店分发.它通过为桌面应用程序提供单独的注册表以及dll在不损害其他应用程序的情况下起作用的方式来实现这一目的.

Fortunately, Microsoft is finally addressing this issue. They are in the process of finalizing Project Centennial, which will allow one to convert desktop apps for distribution via the Windows Store. It does this by providing a separate registry for desktop apps and a way for dlls to function without hurting other applications.

在撰写本文时,Microsoft已撤回其Project Centennial Desktop App Converter的预览版.我希望这是准备发布稳定版本的方法.

As of this writing, Microsoft has withdrawn the preview version of their Project Centennial Desktop App Converter. I am hoping this is in preparation for releasing a stable version.

百年纪念计划是否将允许VSTO外接程序通过Windows应用商店出售?我充满希望,但是并不确定.如果不早一点,我们将在接下来的几个月内了解更多.

Will Project Centennial allow VSTO add-ins to be sold via the Windows Store? I am hopeful, but this is not certain. We should know more within the next couple of months, if not sooner.

更新:2016年6月8日

在Microsoft的dotnetConf 2016上,John Sheehan表示Project Centennial版本1不支持VSTO加载项.他补充说,利用其他桌面技术的插件(他的任期)将在Project Centennial的初始版本(现在定于2016年7月与Window 10的一周年发行版)并存的一段时间后由Project Centennial桌面应用转换器进行转换. ). Sheehan先生没有详细说明VSTO加载项是否特别适用于更高版本的Project Centennial,但他确实表示,与使用其他桌面技术的软件的兼容性肯定在Project Centennial路线图上.

At Microsoft's dotnetConf 2016 John Sheehan stated that VSTO add-ins would not be supported in version 1 of Project Centennial. He added that plug-ins (his term) that leveraged other desktop technologies would be able to be converted by the Project Centennial Desktop App Converter some time after Project Centennial's initial release (now slated to be concurrent with Window 10's 1st anniversary release in July 2016). Mr. Sheehan did not elaborate on whether VSTO add-ins would specifically work with later versions of Project Centennial, but he did indicate that compatibility with software that leverages other desktop technologies is definitely on the Project Centennial road map.

这篇关于如何将Office加载项发布到Windows应用商店的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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