X-Original-To: pgsql-interfaces-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id A830E9FD028 for ; Mon, 28 Aug 2006 13:07:41 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 70116-08 for ; Mon, 28 Aug 2006 13:07:33 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by postgresql.org (Postfix) with ESMTP id 70A469FD025 for ; Mon, 28 Aug 2006 13:07:29 -0300 (ADT) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GHjdo-0005vv-R7 for pgsql-interfaces@postgresql.org; Mon, 28 Aug 2006 18:07:12 +0200 Received: from user-1121peg.dialup.mindspring.com ([66.32.229.208]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Aug 2006 18:07:12 +0200 Received: from eldiener by user-1121peg.dialup.mindspring.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Aug 2006 18:07:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-interfaces@postgresql.org From: Edward Diener Subject: Re: .Net support for Visual Studio Date: Mon, 28 Aug 2006 12:07:00 -0400 Lines: 42 Message-ID: References: <44F0C571.9050605@yahoo.com.br> <44F2FEBB.4070800@yahoo.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: user-1121peg.dialup.mindspring.com User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) In-Reply-To: <44F2FEBB.4070800@yahoo.com.br> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200608/29 X-Sequence-Number: 6243 Francisco Figueiredo Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Edward Diener wrote: >> Actually Npgsql1.0RC3-bin-ms2.0.zip appears to support .net 2.0. >> > > Yes, indeed it is only compiled with ms.net 2.0 runtime. What I mean by > 2.0 support is support for new 2.0 features like dbprovider factory, > async command methods, etc. > >>> You will have to add an entry on your registry to make it work. Have a >>> look at Npgsql user manual for details: >>> >>> http://npgsql.projects.postgresql.org/docs/manual/UserManual.htm >>> >>> on section 3.2: Design time support >> Found it, thanks. For .net 2.0 this is registry key is in a bit >> different place but I was able to figure it out from posts in the >> Microsoft online forums about design time support for installs in the >> GAC. Now I can add the Postgresql data provider components to my Toolbox >> and access them. >> > > Great! Can you provide links, or explanation so I can add them to Npgsql > User manual so others can use it too? The two steps for getting the assembly to show up in the Tools | Choose Toolbox Items... in Visual Studio 2005 are: 1) Drag the assembly into the GAC, or use gacutil, to install the assembly in the GAC. 2) Add a registry key under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v2.0.50727\AssemblyFoldersEx with whatever name you like ( I named mine PostGresql ) with a default value of the directory ( trailing backslash ) where the assembly resides. > > Thanks in advance. Your welcome.