开发与多个版本兼容的Outlook加载项 [英] Develop outlook add-in compatible with multiple versions

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

问题描述

我在Outlook 2010下创建了一个VSTO Outlook加载项.但是当将其部署到Outlook 2007时似乎无法正常工作.解决问题的低效率方法是在Outlook 2007下再次进行编译.还有什么更好的方法吗?使它在两个版本中都能工作的方法?谢谢

I created a VSTO outlook add-in under the outlook 2010. But seems it doesn't work when it was deployed to outlook 2007. The inefficient way to solve the problem is compiling again under the outlook 2007.Is there any better way to make it work in both versions? thanks

推荐答案

我有同样的问题.我所做的是在外接程序(starup函数)开始时进行测试,无论Outlook版本是否为14(用于2010).但是我必须安装Office 2007并在Outlook 2007项目中再次进行编译才能看到结果.该程序可以运行,但是我仍然有一些错误.

I have the same problem. What I have done is testing at the start of the addin (starup function) wether the version of outlook is 14 (for 2010) or not. But I had to install Office 2007 and compile again in an outlook 2007 project to see the result. The program is functional but I still have some errors.

这篇关于开发与多个版本兼容的Outlook加载项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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