Outlook 加载项安装 [英] Outlook Add-ins installation

查看:75
本文介绍了Outlook 加载项安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 VS2012 中开发了 Outlook 2010 插件.我使用 clickonce 方法发布,并使用 sha256 RSA 证书签署 vsto.

I developed outlook 2010 add-ins in VS2012. I publish with clickonce method with signing the vsto with sha256 RSA certificate.

它在我开发的机器上工作正常,但在其他机器上我得到了错误:

It works fine for my developed machine but to other machine i got the error as :

姓名:来自:file:///F:/Hubnet Plugin/DISK1/DISK1/program files/Hubnet/HubnetOutlookPlugin.vsto

Name: From: file:///F:/Hubnet Plugin/DISK1/DISK1/program files/Hubnet/HubnetOutlookPlugin.vsto

************** 异常文本 **************System.Deployment.Application.InvalidDeploymentException:从 file:///F:/Hubnet%20Plugin/DISK1/DISK1/program%20files/Hubnet/HubnetOutlookPlugin.vsto 读取清单的异常:清单可能无效或文件不能打开.---> System.Deployment.Application.InvalidDeploymentException:清单 XML 签名无效.---> System.Security.Cryptography.CryptographicException:无法为提供的签名算法创建 SignatureDescription.在 System.Security.Cryptography.Xml.SignedXml.CheckSignedInfo(非对称算法密钥)在 System.Security.Cryptography.Xml.SignedXml.CheckSignatureReturningKey(AsymmetricAlgorithm&signingKey)在 System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags)在 System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)--- 内部异常堆栈跟踪结束 ---在 System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)在 System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)--- 内部异常堆栈跟踪结束 ---在 Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.GetManifests(TimeSpan timeout)在 Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn().

************** Exception Text ************** System.Deployment.Application.InvalidDeploymentException: Exception reading manifest from file:///F:/Hubnet%20Plugin/DISK1/DISK1/program%20files/Hubnet/HubnetOutlookPlugin.vsto: the manifest may not be valid or the file could not be opened. ---> System.Deployment.Application.InvalidDeploymentException: Manifest XML signature is not valid. ---> System.Security.Cryptography.CryptographicException: SignatureDescription could not be created for the signature algorithm supplied. at System.Security.Cryptography.Xml.SignedXml.CheckSignedInfo(AsymmetricAlgorithm key) at System.Security.Cryptography.Xml.SignedXml.CheckSignatureReturningKey(AsymmetricAlgorithm& signingKey) at System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags) at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s) --- End of inner exception stack trace --- at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s) at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri) --- End of inner exception stack trace --- at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.GetManifests(TimeSpan timeout) at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn().

然后我将我的项目移动到 VS 2010 并再次发布它在开发的机器上运行良好,但在其他机器上它变为非活动加载项,而在某些机器上它运行良好.我被困了几天.我还尝试使用 Shields 安装程序方法部署应用程序.

Then i move my project to VS 2010 and publish it again works fine on developed machine but on other machine it goes inactive add-ins and on some machine it works fine. I am stuck since few days. I also try depoying the application using Shields installer method.

任何帮助将不胜感激.

推荐答案

请确保您的客户端计算机已安装 Visual Studio 2010 Tools for office Runtime.

Please be sure that your client machine has Visual Studio 2010 Tools for office Runtime installed.

我通过在客户端机器上安装它来解决.

I solved by install this on client machine.

这篇关于Outlook 加载项安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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