如何安装npgsql(并在Visual Studio中使用它) [英] how to install npgsql (and use it in Visual Studio)

查看:960
本文介绍了如何安装npgsql(并在Visual Studio中使用它)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


抱歉,对大多数人来说这可能是一个简单的问题:

我将dll复制到了VS项目的/bin文件夹中.但是,我仍然无法使用所需的类(用于连接,...)

我必须使用gacutil吗?这是如何运作的?我刚刚找到文件gacutil.exe,但它看起来像xml,我无法执行必要的命令.

我在npgsql页面上使用了手册.

感谢您的帮助.

Hi,
sorry, this might be a simple question to most of you:

I copied the dlls into the /bin folder of my VS project. However, I still cannot use the classes I need (for connections,...)

Do I have to use gacutil? How does this work? I just found the file gacutil.exe, but it looks like xml and I cannot execute the necessary command.

I used the manual on the npgsql page.

Thanks for your help

推荐答案

您的DLL不需要放入GAC.只需在项目中添加对它们的引用,您就应该能够在其中使用这些类.
Your DLLs don''t need to be put into the GAC. Just add references to them in your project, and you should be able to use the classes in them.


这篇关于如何安装npgsql(并在Visual Studio中使用它)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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