如何在VSTO C#Excel 2013加载项中将Publisher从“无"更新为XYZ? [英] How to update Publisher from None to XYZ in VSTO C# Excel 2013 Add-in?

查看:71
本文介绍了如何在VSTO C#Excel 2013加载项中将Publisher从“无"更新为XYZ?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用vs2012 vsto和c#创建了一个Excel 2013加载项项目.

I have created one Excel 2013 add-ins project using vs2012 vsto with c#.

我已将发布者名称设置为XXXXXXX-XXXXX-XXXXInc.此外,我还将具有相同发布者名称的公司的数字签名添加到XXXXXXX-XXXXX-XXXX Inc..

I have set Publisher name to XXXXXXX-XXXXX-XXXX Inc. Also I have also added digital signature of my company with same Publisher name to XXXXXXX-XXXXX-XXXX Inc.

在安装时,我总是得到发布者名称XXXXXXX-XXXXX-XXXXInc.但是在安装后,如果我打开Excel的选项,则发布者将显示None

At the time of installation always I get publisher name XXXXXXX-XXXXX-XXXX Inc. But after installed if I am open Excel's options then Publisher display None

因此,请指导我如何更新/添加发布者名称.我还更新了发布选项",但在Excels选项中却没有.

So, please guide me how to update/add publisher name. I have also updated Publish Options but I am not get that in excels options.

推荐答案

我相信这与VSTO插件是不可能的.参见:

I believe this is impossible to do with VSTO addins. See:

Saurabh 2014年1月15日上午11:36

Saurabh 15 Jan 2014 11:36 AM

不幸的是,仍然不支持在VSTO解决方案的加载项对话框中显示发布者名称.发布者名称仅显示COM加载项.

Unfortunately showing the publisher name in the add-ins dialog for VSTO solutions is still not supported. The publisher name only shows up for COM Add-ins.

这极不可能改变.由于VSTO具有自己的安全性/签名,与传统的COM插件不同,因此不会填充"COM插件"对话框中的发布者名称.安装外接程序时,信任提示上的发布者名称是显示给用户的主要位置,必须信任该发布者才能运行.COM加载项中的发布者名称只是一个字符串,不会影响VSTO加载项的安全性.

Its highly unlikely this will change. Since VSTO has its own security/signing which is different from the traditional COM addins the publisher name in the COM addins dialog isn’t populated. The publisher name on the trust prompt when you install the add-in is the main location where it gets displayed to the user and must be trusted in order to run. The publisher name in the COM Addins is merely a string and doesn’t affect the VSTO addins security.

http://blogs.msdn.com/b/vsto/archive/2009/10/19/visual-studio-2010-specify-advanced-publishing-options-saurabh-bhatia.aspx

这篇关于如何在VSTO C#Excel 2013加载项中将Publisher从“无"更新为XYZ?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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