简体   繁体   English

Visual Studio 2008中的Npgsql设计时间支持

[英]Npgsql design time support in Visual Studio 2008

How to enable Npgsql design time support in Visual Studio 2008? 如何在Visual Studio 2008中启用Npgsql设计时支持? I did exactly what manual says: 我完全按照手册上的说明做了:
1) I have Npgsql.dll installed in c:\\Program Files (x86)\\PostgreSQL\\Npgsql\\ms.net3.5sp1\\ 1)我在c:\\ Program Files(x86)\\ PostgreSQL \\ Npgsql \\ ms.net3.5sp1 \\中安装了Npgsql.dll
2) cd into that dir and run 2)进入该目录并运行

gacutil -i Npgsql.dll

3) Added a new Registry-Key called "Npgsql" below 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft.NETFramework\\AssemblyFolders' and set its default value to the path of my Npgsql.dll, point 1. 3)在“ HKEY_LOCAL_MACHINE \\ SOFTWARE \\ Microsoft.NETFramework \\ AssemblyFolders”下添加了一个名为“ Npgsql”的新注册表项,并将其默认值设置为我的Npgsql.dll的路径,指向1。

However still do not see PostgreSQL provider in Data Connection/Server Explorer. 但是,在数据连接/服务器资源管理器中仍然看不到PostgreSQL提供程序。 What I've mised or did wrong? 我误会或做错了什么?

Unfortunately the current design time support of Npgsql only works on VS.net 2010 :( 不幸的是,当前Npgsql的设计时间支持仅在VS.net 2010上有效:(

And it is in a very alpha shape. 它是一个非常alpha形状。

We are working to get it working on other versions. 我们正在努力使其能够在其他版本上使用。

This Npgsql.VisualStudio.dll is a very early attempt to create a design time support but it doesn't work. 此Npgsql.VisualStudio.dll是创建设计时支持的非常早期的尝试,但是它不起作用。

Sorry for that :( 抱歉:(

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM