我不能添加Microsoft.SqlServer.Management.Common到我的ASP.NET MVC应用程序

问题描述:

我想添加一个参照上述组件,但它不会出现在我的ASP.NET MVC .NET 4中(不是客户端)应用程序组件列表。有谁知道如何引用大会?

I am trying to add a reference to the above assembly but it does not appear in my ASP.NET MVC .NET 4 (Not client) applications Assembly list. Does anyone know how to reference this Assembly?

Microsoft.SqlServer.Management.Common 命名空间驻留在微软。 SqlServer.ConnectionInfo.dll 组件。

The Microsoft.SqlServer.Management.Common namespace resides in the Microsoft.SqlServer.ConnectionInfo.dll assembly.

Microsoft.SqlServer.Management.Common命名空间(MSDN)

假设默认安装文件夹,你可以找到 Microsoft.SqlServer.ConnectionInfo.dll 组件:

Assuming the default installation folders you can find the Microsoft.SqlServer.ConnectionInfo.dll assembly in:

C:\ Program Files文件\ Microsoft SQL Server的\ XXXX \ SDK \组件

其中, XXXX 重presents的SQL Server您正在运行的版本:

Where XXXX represents the version of SQL Server you're running:


80  -> SQL Server 2005
90  -> SQL Server 2008
100 -> SQL Server 2008R2

如果您在x64上运行SQL Server的32位则代替 C:\ Program Files文件使用 C:\ Program Files文件(x86)的

If you're running SQL Server 32bit on x64 then instead of c:\Program Files use c:\Program Files (x86).