Hi !

I'm unable to compile a little piece of code for the compact framework.  I'm
using Visual Studio .NET 2005.  I've downloaded version 2.1.0 of the data
provider.  This is the version of the SDK :
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727.
I've made a little project that targets Windows CE 5.0
When I try to declare a FbConnection object, I receive the following error :

error CS0012: The type 'System.Data.Common.DbConnection' is defined in an
assembly that is not referenced. You must add a reference to assembly
'System.Data, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'.

These are my using clauses :

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.Common;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using FirebirdSql.Data.FirebirdClient;

Then I searched the internet and discovered I have to rebuild the data 
provider for the compact
framework.  So I've downloaded the source code and did a rebuild with the
build.bat file.
Then, I included the new FirebirdSql.Data.FirebirdClient.dll in the project.
Still the same error.

Any idea what I'm doing wrong ?
Many thanks in advance,

Nico Callewaert 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to