I
I.R.F.
I'm trying to run a very simple CF app I wrote on my Pocket PC running
WM2003SE, and although I am able to build and deploy using VS2005, when I
try to run it on the device nothing happens. If I try to debug from VS it
fails with an error "Could not load the CLR" or something like that. But it
did deploy CF 2.0, and the device thinks CF 2.0 is installed. There are no
problems running on the emulator.
I also noticed that an older app I'd built with VS2003 against CF1.0 no
longer runs on the device either. This app used to run fine, although I have
since had to replace the device (with the same model), so I'm not sure if it
ever actually ran on the new one. But the device definitely thinks it has
CF1.0 installed. I also tried building a new app in VS2005 against CF2.0,
with the same results. (VS2003 is now completely unable to communicate with
the device, but I'm assuming that's a separate problem.)
My first guess is that somehow the CLR is simply not loading, but I haven't
worked much on the PPC and I'm stuck on how to troubleshoot this. Is there
any way to see what might are occurring? As it is the failure is completely
silent. Is there a way to validate the CLR installation? I've tried removing
and reinstalling, it didn't help.
Another thing I've noticed is that every time I deploy from the desktop, VS
redeploys the CF 2.0 cab, as if it didn't recognize that it's already there.
I don't know if that might be revealing. I haven't yet tried a hard reset,
but I'll probably try that next and see what happens on a clean device.
This all used to work well, but somewhere along the line something broke,
and I don't know what. The major environment changes in that time are a) I
got the replacement device (which should be identical to the previous one),
and b) I installed VS2005 on the desktop machine.
Any suggestions are appreciated -- at this point I'm not sure where to even
start looking, and it's very frustrating!
Thanks in advance for any help!
WM2003SE, and although I am able to build and deploy using VS2005, when I
try to run it on the device nothing happens. If I try to debug from VS it
fails with an error "Could not load the CLR" or something like that. But it
did deploy CF 2.0, and the device thinks CF 2.0 is installed. There are no
problems running on the emulator.
I also noticed that an older app I'd built with VS2003 against CF1.0 no
longer runs on the device either. This app used to run fine, although I have
since had to replace the device (with the same model), so I'm not sure if it
ever actually ran on the new one. But the device definitely thinks it has
CF1.0 installed. I also tried building a new app in VS2005 against CF2.0,
with the same results. (VS2003 is now completely unable to communicate with
the device, but I'm assuming that's a separate problem.)
My first guess is that somehow the CLR is simply not loading, but I haven't
worked much on the PPC and I'm stuck on how to troubleshoot this. Is there
any way to see what might are occurring? As it is the failure is completely
silent. Is there a way to validate the CLR installation? I've tried removing
and reinstalling, it didn't help.
Another thing I've noticed is that every time I deploy from the desktop, VS
redeploys the CF 2.0 cab, as if it didn't recognize that it's already there.
I don't know if that might be revealing. I haven't yet tried a hard reset,
but I'll probably try that next and see what happens on a clean device.
This all used to work well, but somewhere along the line something broke,
and I don't know what. The major environment changes in that time are a) I
got the replacement device (which should be identical to the previous one),
and b) I installed VS2005 on the desktop machine.
Any suggestions are appreciated -- at this point I'm not sure where to even
start looking, and it's very frustrating!
Thanks in advance for any help!