![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
I'm trying to compile a very simple (device) program but get an Error popping up, saying: CS0234: The type or namespace name 'WindowsCE' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) This starts to happen when I add the ControlsEXDevice.dll to the project. Any help appreciated please! Thanks Mike White |
|
||||
|
Make sure you are using the latest version of this library: ControlsExDevice library
|
|
|||
|
Erel,
I extracted these to ...\Anywhere Software\Basic4ppc Desktop\Libraries is that correct? I still get the error but I notice I only get it if I have the option "Optimized Compilation" checked. Mike |
|
|||
|
I tried that but still no luck.
What I have found is that if I use ControlsEXDeviceDummy on the Device side the program compiles and runs (I'm using a DateTime Picker at the moment). Is that what I should have been doing? Mike |
|
|||
|
Thanks for that. But to confirm:
If I have ControlsEXDevice on the Device Side and ControlsEXDeviceDummy on the desktop I get the compile error. If I have ControlsEXDeviceDummy on the Device side it compiles. The odd thing is, I think this worked yesterday :/ Perhaps I will try to uninstall and reinstall Basic4ppc but I'm not sure that will help. I have no other Components set at all, just these. Thanks again, Mike |
|
||||
|
Can you compile the ControlsExDeviceDemo app that comes with the library?
P.S. If you are wondering why I've jumped into this thread it's because I wrote those libraries and they compile fine on my machine - and other peoples - so I don't think there is anything intrinsically wrong with the library code. |
|
|||
|
No,
that program does not compile either - same error. There must be something wrong with the setup on my machine. Likely in the .net stuff somewhere. Any idea where I could start to look? Thanks for jumping in, by the way, all help appreciated. Mike |
|
||||
|
@Erel. Does he need to have installed CF 2.0 on the device to get his desktop updated with the CF assemblies used by the C# compiler? The CF 2.0 redistributable is so huge that I assumed it had bits for the desktop SDK included as well - but I don't really know!
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|