Search code examples
c#windows-cewindows-embedded-compactcompact-database

I get the error: file or assembly system system.data.sqlserverce not found


Picture error from my device

On emulator it work but on my device it dosen't work.

I copy build file to my device and run. It right?

file copy

My device Infomation

  • CE OS 5.2.29370
  • .NET CF version 3.5.14269.0

Propreties DB I correct setup?

Propreties DB

Propreties Dataset I correct setup?

Propreties Dataset

I need show data on my device like a emulator device.

Picture from emulator


Solution

  • If it's not already, set Copy Local to true for that reference. That will copy the DLL to the output folder with your EXE when you build. You then deploy the DLL with your EXE.