How to add reference to the assembly 'CoreLab.Data'?

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
fordprefect
Posts: 2
Joined: Sun 16 Dec 2007 14:37

How to add reference to the assembly 'CoreLab.Data'?

Post by fordprefect » Sun 16 Dec 2007 14:52

Hi,

I try to implement a psql database in a Webservice in Visual Studio 2005. I installed PostgreSQLDirect.NET Version 3.25 for NET Framework 2.0 and 3.0. I managed to import the Database from a Server into the Webservice.
But when I compile my WebService it says something like:

"The type CoreLab.Common.DbDataAdapter is defined in an Assembly, on which there is no reference. Add a reference to the Assembly CoreLab.Data."

So I guess I have to implement CoreLab.Data with something like:

using CoreLab
using CoreLab.Data

But it has problems with 'using CoreLab.data'

So what do I have to implement here?

Thanks a lot

Alexey.mdr
Posts: 729
Joined: Thu 13 Dec 2007 10:24

Post by Alexey.mdr » Mon 17 Dec 2007 13:18

Check that your project references "CoreLab.Data" and "CoreLab.PostgreSql" assemblies.

Besides you might need to add the following lines to each file, where you are going to use PostgreSQLDirect .NET components:

Code: Select all

using CoreLab.PostgreSql;
using CoreLab.Data;

Post Reply