Russell

Did you tried to reference the System.Data GAC Assembly on your project?

I had the same problem compiling the svn code on Mono

I hope to be helpful someway

2010/1/25 Russell R <[email protected]>

>
> I have downloaded 2.5.1 from Subversion and built the client Dll without
> issues (except for WixInstaller).  However when I try using this Dll as a
> reference I get the error:
> Error   1       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'.
> F:\FirebirdSql\SmartDeviceProject1\SmartDeviceProject1\Program.cs       21
>      13
> SmartDeviceProject1
>
>
> I tried adding this to my machine.config (in
> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG):
>      <add name="FirebirdClient Data Provider"
> invariant="FirebirdSql.Data.FirebirdClient" description=".Net Framework
> Data
> Provider for Firebird"
> type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory,
> FirebirdSql.Data.FirebirdClient, Version=2.5.1.0, Culture=neutral,
> PublicKeyToken=b77a5c561934e089" />
>
> but still no joy.  When I use the pre-built client I do not get an error.
>
> Can someone please help
>
> Russell Rose
> Passfield Data Systems Ltd
> Tel: +44 1404 514401
>
> --
> View this message in context:
> http://n4.nabble.com/Building-v2-5-1-with-VS2008-with-Compact-Framework-3-5-tp1289244p1289244.html
> Sent from the firebird-net-provider mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Firebird-net-provider mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
>



-- 
João Dias de Carvalho Neto

http://www.jdiasneto.blogspot.com
[email protected]
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to