找不到Microsoft.Office.Interop的Visual Studio [英] Cannot find Microsoft.Office.Interop Visual Studio

查看:670
本文介绍了找不到Microsoft.Office.Interop的Visual Studio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要开发这将需要发送使用C#和Visual Studio电子邮件的功能的应用程序。该应用程序将能够使用模板的邮件,很多东西,但我有一个问题。

I need to develop an application which will has the capability to send emails using C# with visual studio. The app will be able to use templates for mail, and a lot of things, but I have a problem.

我找不到任何Office.Interop引用,当我尝试添加它们,这就是意味着我不能与Outlook的工作。办公室被安装在我的电脑上,但我也尝试从这个链接<一个安装PIA href="http://www.microsoft.com/en-us/download/details.aspx?id=3508">http://www.microsoft.com/en-us/download/details.aspx?id=3508但它并没有改变任何东西(当我启动MSI停止不语,我不知道这是否是问题的一部分)。

I cannot find any Office.Interop references when I try to add them, which is mean I cannot work with Outlook. Office is installed on my computer, but i also try to install the PIA from this link http://www.microsoft.com/en-us/download/details.aspx?id=3508 but it didn't change anything (when I launch the MSI it stops without a word, I don't know if it's part of the problem).

我用VS 2013 EX preSS是其局限性的一部分吗?

I use VS 2013 express is it part of its limitation ?

所以,如果你有一个想法,我的问题,这将是真正伟大的!

So if you had an idea for my problem, it would be really great !

PS:请原谅我的英语,我来自法国是;)

PS : Please excuse my English, i'm from France ;)

推荐答案

尝试添加引用时,在COM找他们。你应该找到下面参考,并有可能的Microsoft Outlook 15.0对象库,如果你需要的。类似的还有库的Word,Excel等。

Look for them under COM when trying to add the references. You should find the reference below, and possibly Microsoft Outlook 15.0 Object Library, if you need that. There are similar libraries for Word, Excel, etc.:

修改/更新:对象库应包含互操作的东西。尝试它添加到一个源文件,看看它没有找到你所需要的:

Edit / update: The Object Library should contain the Interop stuff. Try to add this to a source file, and see if it does not find what you need:

using Microsoft.Office.Interop.Outlook;

这篇关于找不到Microsoft.Office.Interop的Visual Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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