命名空间Microsoft不存在命名空间Visualstudio,缺少程序集引用 [英] namespace Visualstudio does not exist in the namespace Microsoft, missing assembly reference

查看:85
本文介绍了命名空间Microsoft不存在命名空间Visualstudio,缺少程序集引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我继承了一个我无法编译的C#Visual Studio 2010项目,因为它正在查找我无法满足的以下参考.

I inherited a C# Visual Studio 2010 project that I am unable to compile because it’s looking the following reference which I am unable to satisfy.

使用Microsoft.VisualStudio.Tools.Applications.Runtime;

我是VS的新手,但根据我的研究,它与Microsoft Office版本和.Net Framework版本有关.我目前已安装MS Office 2003(与Project 2010和Visio 2010一起安装).该解决方案需要.Net 4.0,但是从我在网上发现的情况来看,MS Office似乎正在将.Net还原为较早的版本.

I am new to VS but from what I have researched it has something to do with the version Microsoft Office and the .Net framework version. I currently have MS Office 2003 installed (with Project 2010 and Visio 2010). The Solution requires .Net 4.0 but from what I found on the web it looks like MS Office is reverting .Net to an earlier version.

当我使用Microsoft输入时. Intellisense仅显示

When I type in using Microsoft. Intellisense only shows

  • {}合同
  • {} CSharp
  • {}内部
  • {} SqlServer
  • {} VisualBasic
  • {} Win32

所以我缺少 {} VisualStudio 资源.

谢谢.

推荐答案

您似乎需要

用于Office Runtime的Visual Studio 2010工具

如果您需要更多信息,我还会推荐您使用文档:

I also refer you to docs in case you need further info:

这篇关于命名空间Microsoft不存在命名空间Visualstudio,缺少程序集引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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