[Mono-list] asp.net and Npgsql namespace not found

Carl Olsen carl at carl-olsen.com
Sun Oct 9 09:45:51 EDT 2005


I installed Npgsql.dll in the Global Assembly Cache (GAC) by running the GAC
utility, like this:

     gacutil -I Npgsql.dll

I also include it in the code page, like this:

     using Npgsql;

That should take care of it.  I believe the RMPs will install it in the GAC
as well, but it won't hurt to install it again.

Carl Olsen
http://www.carl-olsen.com/



-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Alan Campbell
Sent: Sunday, October 09, 2005 7:14 AM
To: mono-list at lists.ximian.com
Subject: [Mono-list] asp.net and Npgsql namespace not found

Hi all,

I am trying to convert code from IIS/Access DB to XSP (or mono-mono) /
PostgreSQL in Debian Sarge.  I can compile and run the Npgsql sample
code fine.  But, I get the following error when I try and use Npgsql
in my codebehind page.

error CS0246: The type or namespace name `Npgsql' could not be found.
Are you missing a using directive or an assembly reference?

I guess I am missing something simple, but i could not find a similar
message on the list.  Browsing the archives on neotonic.com appear to
be broken.

Thanks
Alan Campbell.
_______________________________________________
Mono-list maillist  -  Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list