在VS 2012 Microsoft.Office.Interop.Outlook 2010参考使用。NET 2.0Microsoft、Office、VS、Interop

2023-09-05 03:53:40 作者:ジ霓裳ベ

我绑在添加参考 Microsoft.Office.Interop.Outlook 命名空间,以我的web项目我使用。NET 2.0和Visual Studio 2012

I was tying to add a Reference to Microsoft.Office.Interop.Outlook Namespace in to my web project i'm using .Net 2.0 And visual studio 2012

问题的

下列哪一个是一个我应该选择与展望2010

Which one of the following is the one i should choose to work with Outlook 2010

我试图谷歌这一点,我找不到任何东西

推荐答案

您已经选择了错误的标签参考经理。选择此选项卡:

You've chosen wrong tab in Reference Manager. Choose this tab:

然后找到 Microsoft.Office.Interop.Outlook 库。嗯,如果你有多个选择,那么请参阅库文件版本 - 它说的Office版本,你可以处理:12 * - 2007年,14 * - 2010年,15 * - 2012年 最好的选择是14 *,但其他人将大部分工作了。 还需要让你担心:微软建议不要在服务器端互操作使用(链接)

And then find Microsoft.Office.Interop.Outlook library. Ah, and if you'll have multiple choice, then see at File Version of library - it says the version of Office you can work with: 12.* - 2007, 14.* - 2010, 15.* - 2012. The best choice is 14.* but the others will mostly work too. Also need to worry you: Microsoft suggest not to use interop on server side (link)