pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Edward Diener <eldiener@tropicsoft.com>
To: pgsql-interfaces@postgresql.org
Subject: Re: .Net support for Visual Studio
Date: Mon, 28 Aug 2006 12:07:00 -0400
Message-ID: <ecv4b2$o73$1@sea.gmane.org> (raw)
In-Reply-To: <44F2FEBB.4070800@yahoo.com.br>
References: <ecqc03$mvk$1@sea.gmane.org>
	<44F0C571.9050605@yahoo.com.br>
	<ecqj7t$8ko$1@sea.gmane.org>
	<44F2FEBB.4070800@yahoo.com.br>

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.




view thread (6+ messages)  latest in thread

Message-ID: <ecv4b2$o73$1@sea.gmane.org>
Permalink:  ../ecv4b2$o73$1@sea.gmane.org/
Also on:    postgresql.org/message-id/ecv4b2$o73$1@sea.gmane.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: eldiener@tropicsoft.com
  Subject: Re: .Net support for Visual Studio
  In-Reply-To: <ecv4b2$o73$1@sea.gmane.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox