我不能添加Microsoft.SqlServer.Management.Common到我的ASP.NET MVC应用程序 [英] I can't add Microsoft.SqlServer.Management.Common to my ASP.NET MVC Application

查看:331
本文介绍了我不能添加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.

<一个href="http://msdn.microsoft.com/en-us/library/microsoft.sqlserver.management.common.aspx">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).

这篇关于我不能添加Microsoft.SqlServer.Management.Common到我的ASP.NET MVC应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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