|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.net application deployment problem on wince 4.1I have developed an application "exe" using visual studio .net 2003 for wince
4.1. The application works fine on debug and release mode. The application is deployed into the compact flash card of the device. After the deployment, I can execute the application directly from the device without any problem. But, when I restart the device, it's impossible to run the application again. All the required files are still correctly located on the good folder of the compact flash card, but I can execute my application. If I deploy again the application with visual studio, the application works again easer in debug or release mode. I tried to reinstall the compact framework on the device, but the result is the same! How to detect what's wrong in the deployment ? You are still missing some files probably.
When you deploy from inside VS it will install all the required files onto the device for you. Since you only install the CF on the device when you do it manually (and it doesn't work) then you are probably missing some reference. Do you use any 3rd party assembly files? Maybe some SQL stuff is missing if you do database connections? Take a look at what gets installed when you deploy from VS and you will need to install the same things when you do it manually. Also, just to note, when you perfrom a hard reset of the device it will wipe out anything you had installed so you will need to reinstall all of the files again. -- Show quote~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Charles Cox VC/VB/C# Developer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "jmR" <j**@discussions.microsoft.com> wrote in message news:EFEB3048-9078-4508-9A24-3FBC27EB4635@microsoft.com... >I have developed an application "exe" using visual studio .net 2003 for >wince > 4.1. The application works fine on debug and release mode. The application > is > deployed into the compact flash card of the device. After the deployment, > I > can execute the application directly from the device without any problem. > > But, when I restart the device, it's impossible to run the application > again. All the required files are still correctly located on the good > folder > of the compact flash card, but I can execute my application. > > If I deploy again the application with visual studio, the application > works > again easer in debug or release mode. > > I tried to reinstall the compact framework on the device, but the result > is > the same! > > How to detect what's wrong in the deployment ? > > |
|||||||||||||||||||||||