开发者

One office plugin for both Office 2010 and 2007

开发者 https://www.devze.com 2023-01-01 13:23 出处:网络
I\'ve developed an office VSTO3 application for MS Office 2007. Now I\'m in a process of porting it for Office 2010.

I've developed an office VSTO3 application for MS Office 2007. Now I'm in a process of porting it for Office 2010.

I've created a new project targeted for 2010 and mostly just copy-pasting the code from 2007 project. I've moved as much code as I can to external libraries but still there's quite much code in main project.

I was wondering if there's a better way of doing that? Do you know if I can have one project targeted for both platforms. I don't care for backwards compatibility for older ve开发者_JAVA百科rsion then 2007.


An AddIn targeting 2007 should also work in Office 2010, or you can use a 2010 AddIn in Office 2007 as long as you don't use any of the new features int 2010.

The following link gives details about Running Solutions in Different Versions of Microsoft Office


You should mention whether you're targeting Outlook, Excel, etc... Pretty big omission :)

Excel DNA is a platform for Excel addins that I like, which plays with 2007 and 2010.

I have developed an Outlook addin for 2007 that installs and mostly works in 2010 but has weird bugs I haven't got around to diagnosing.

So - it depends on what you want to do.

0

精彩评论

暂无评论...
验证码 换一张
取 消