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

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

Postby fordprefect » Sun 16 Dec 2007 14:52


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'

So what do I have to implement here?

Thanks a lot
Posts: 2
Joined: Sun 16 Dec 2007 14:37

Postby 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;
Posts: 729
Joined: Thu 13 Dec 2007 10:24

Return to dotConnect for PostgreSQL