adodb.dll 是否包含在 .NET 发行版中?

发布于 2024-09-07 06:50:16 字数 193 浏览 1 评论 0原文

我正在对客户工作站上的问题进行故障排除,令我惊讶的是,在客户工作站上找不到 adodb.dll

通常,我会在 C:\Program Files\Microsoft.NET\Primary Interop Assemblies 文件夹中看到该文件。

该文件是否随 .NET 框架一起分发?

I was troubleshooting an issue on a customer's workstation and found that, to my surprise, adodb.dll was nowhere to be found on the customer's workstation.

Typically, I see the file in C:\Program Files\Microsoft.NET\Primary Interop Assemblies folder.

Is this file distributed with the .NET framework or not?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情绪操控生活 2024-09-14 06:50:16

根据 MSDN 判断,该文件是在Visual Studio 安装。

注意 Visual Studio.NET 在 adodb.dll 文件的“Program Files\Microsoft.NET\Primary Interop Assemblies”目录中为 ADO 提供了主互操作程序集 (PIA)。如果您安装了 Visual Studio.NET 的副本,建议您使用此文件 (adodb.dll),而不是使用类型库导入程序 (tlbimp.exe) 导入您自己的文件。

我在安装了VS的电脑上有这个文件,在没有安装VS的电脑上没有这个文件。看起来使用 TlbImp 生成您自己的应该很容易。

Judging by MSDN, that file is written during a Visual Studio install.

Note Visual Studio.NET provides a Primary Interop Assembly (PIA) for ADO in the "Program Files\Microsoft.NET\Primary Interop Assemblies" directory in the file adodb.dll. If you have a copy of Visual Studio.NET installed, it is recommended that you use this file (adodb.dll) as opposed to importing your own using the Type Library Importer (tlbimp.exe).

I have this file on computers with VS installed, and don't have it on computers without VS installed. It looks like it should be pretty easy to generate your own with TlbImp.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文