Reference within CE app

Mar 4, 2013 at 6:11 AM
Hallo, I have a visual studio 2008 smart device project.

I've referenced the assembly and the compile works fine, once I run the project (standard emulator) i Get the following exception.

___Deployment and/or registration failed with error: 0x8973190e. Error writing file '%csidl_program_files%\facet.scan\'. Error 0x80070070: There is not enough space on the disk.
Device Connectivity Component   ___

Mar 4, 2013 at 10:41 AM
The Device Communication library is a desktop library and is not intended to be used on a device (and it wouldn't work anyway). It is supposed to be used from a desktop application to communicate with the device. The device-side pieces that it communicates with (ActiveSync) are already present in ROM. The reason you get the error about space is that since it's a desktop library, Studio tries to push the entire desktop .NET framework to the device and is running out of space.