Visual Studio Windows CE application has no reference to SqlClient.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tdechant
    New Member
    • May 2010
    • 1

    Visual Studio Windows CE application has no reference to SqlClient.

    Here is my issue: Consider me a relative idiot in Visual Studio/.NET. I started in this position two years ago and the development machine I am using was inherited from the previous developer. He had built several Windows CE applications using Visual Studio 2005. Within these apps, are many calls to SQL using SqlClient.

    Last week the development machine bit the dust. I have ressurected most everything with one exception. When I go to Visual Studio and attempt to reference System.Data.Sql client: it is not there.

    I have searched the net until my eyeballs ache and cannot find any definitive answer as to why this is missing.

    My desktop Visual Studio apps reference System.Data.Sql Client just fine.

    I am assuming that I am missing some component (an SDK or something), but cannot find exactly what this is.

    Tom
  • markmcgookin
    Recognized Expert Contributor
    • Dec 2006
    • 648

    #2
    Yeah, basically the DLL isn't being copied onto the device. If you find it and copy it into the folder on the device the app should run fine.

    Does this work?

    Comment

    • Plater
      Recognized Expert Expert
      • Apr 2007
      • 7872

      #3
      Have you made sure to install the compact framework and any CE SDKs?

      Comment

      Working...