can not find System.Data in Compact Framework 1.0 project

Hello everyone,


I have used Visual Studio 2005 to create a C# .Net Compact Framework 1.0 application on Pocket Pc 2003 device. But when building the application, there are some errors dealing with System.Data can not find.

I have solved this issue by manually add System.Data from References of project, and it is working now. I am wondering whether we should manually add reference to System.Data in an application based on .Net Compact Framework 1.0 (Pocket PC 2003).


thanks in advance,
George



Answer this question

can not find System.Data in Compact Framework 1.0 project

  • Kim Ohrns

    I would say yes, it is expected for empty project. It’s empty, so it’s up to you to add references.



  • AaronTM

    VS 2005 adds reference to System.Data automatically for NETCF V1 project but not to System.Data.Common.dll. Last DLL includes some classes which are normally found in System.Data on desktop.



  • DVAz

    Hi Ilya, I am creating an empty project, and System.Data is not referred automatically. But standard smart device application has System.Data as automatic reference. So, are these behaviors designed or expected (both for empty project in C# and for standard smart device application in C#)

    regards,

    George

    Ilya Tumanov wrote:

    VS 2005 adds reference to System.Data automatically for NETCF V1 project but not to System.Data.Common.dll. Last DLL includes some classes which are normally found in System.Data on desktop.


  • can not find System.Data in Compact Framework 1.0 project