调试Outlook插件时出现DeploymentException [英] DeploymentException when Debug Outlook addin

查看:104
本文介绍了调试Outlook插件时出现DeploymentException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

使用VS2008开发Outlook插件后,我不得不格式化我的PC。
我将代码保存在一个安全的地方,编写了PC并安装了Office 2007 - 之后VS2008。

现在当我尝试调试我的代码时,我得到以下异常:

系统中发生了'System.Deployment.Application.DeploymentException'类型的第一次机会异常.Deployment.dll
其他信息:存储元数据"CurrentBind"无效。


这个例子之后是其他几个,因此调试是不可能的。在没有VS调试的情况下打开outlook时,插件工作正常。

之前是否有人对此进行了封装?

谢谢,
Amir。

PS - 何时我在第一次询问密钥密码时打开了项目。因为我忘记了,我用一个新的测试键替换了键。

Hi there,

After developing an outlook addin using VS2008, i had to format my PC.
I saved the code in a safe place, formated the PC and installed office 2007 - and after that VS2008.

Now when i try to debug my code I get the following exception:

A first chance exception of type 'System.Deployment.Application.DeploymentException' occurred in System.Deployment.dll
Additional information: Store metadata "CurrentBind" is not valid.


This exceptoin is followed by several others and thefore the debug is unpossible. When opening outlook without debug from VS, the the addin is working properly.

Did some one encouter this before?

Thanks,
Amir.

PS - when i open the project in the first time it asked me for the key password. Since i forgot, i replaced the key with a new test key.

推荐答案

重建后,又出现了另一个错误。 找不到Excel.exe.config。

http://www.freeimagehosting.net/上传/ 5b9cd8688f.jpg

After rebuilding, yet another error.  Excel.exe.config could not be found.

http://www.freeimagehosting.net/uploads/5b9cd8688f.jpg


这篇关于调试Outlook插件时出现DeploymentException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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