User693698958 posted
I am creating a Compact Framework application in VS2005 .
I want to work with SQL Server 2005 Compact Edition. When I create a SqlCeConnection object the compiler complains:
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'. (CS0012) -
I have a reference to System.Data.
This does not happen in a normal windows application.
It should be possible to work with SqlServerCe in a Compact Framework application, or am I wrong?
Nagesh