名称空间Visualstudio不存在于命名空间Microsoft中,缺少程序集引用(namespace Visualstudio does not exist in the namespace Microsoft, missing assembly reference)

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

using Microsoft.VisualStudio.Tools.Applications.Runtime;

我是VS新手,但是从我研究过的内容来看,它与版本Microsoft Office和.Net框架版本有关。 我目前安装了MS Office 2003(使用Project 2010和Visio 2010)。 该解决方案需要.NET 4.0,但从我在网上找到的东西看,它看起来像MS Office正在将.Net恢复到早期版本。

当我输入using Microsoft. 智能感知只显示

{}合同 {} CSHARP {}内部 {}的SqlServer {}的VisualBasic {}的Win32

所以我缺少{}VisualStudio资源。

谢谢。

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.

using Microsoft.VisualStudio.Tools.Applications.Runtime;

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.

When I type in using Microsoft. Intellisense only shows

{}Contract {}CSharp {}Internal {}SqlServer {}VisualBasic {}Win32

So I am missing the {}VisualStudio resource.

Thanks.

最满意答案

你似乎需要

适用于Office Runtime的Visual Studio 2010工具

如果您需要更多信息,我也会将您引荐至文档。

Visual Studio Tools for Office Runtime中的程序集 适用于Office Runtime的Visual Studio工具概述

You seem to need

Visual Studio 2010 Tools for Office Runtime

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

Assemblies in the Visual Studio Tools for Office Runtime Visual Studio Tools for Office Runtime Overview名称空间Visualstudio不存在于命名空间Microsoft中,缺少程序集引用(namespace Visualstudio does not exist in the namespace Microsoft, missing assembly reference)

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

using Microsoft.VisualStudio.Tools.Applications.Runtime;

我是VS新手,但是从我研究过的内容来看,它与版本Microsoft Office和.Net框架版本有关。 我目前安装了MS Office 2003(使用Project 2010和Visio 2010)。 该解决方案需要.NET 4.0,但从我在网上找到的东西看,它看起来像MS Office正在将.Net恢复到早期版本。

当我输入using Microsoft. 智能感知只显示

{}合同 {} CSHARP {}内部 {}的SqlServer {}的VisualBasic {}的Win32

所以我缺少{}VisualStudio资源。

谢谢。

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.

using Microsoft.VisualStudio.Tools.Applications.Runtime;

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.

When I type in using Microsoft. Intellisense only shows

{}Contract {}CSharp {}Internal {}SqlServer {}VisualBasic {}Win32

So I am missing the {}VisualStudio resource.

Thanks.

最满意答案

你似乎需要

适用于Office Runtime的Visual Studio 2010工具

如果您需要更多信息,我也会将您引荐至文档。

Visual Studio Tools for Office Runtime中的程序集 适用于Office Runtime的Visual Studio工具概述

You seem to need

Visual Studio 2010 Tools for Office Runtime

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

Assemblies in the Visual Studio Tools for Office Runtime Visual Studio Tools for Office Runtime Overview