W
Werner
I have build a CE6 image and included the CF2.0 and CF3.5 component to my
image. CF3.5 was released as a QFE of month January 2008. Before I had only
CF2.0 in my CE6 image.
I have a few smart device C# projects that run fine on my old CE6 image with
CF2.0. These apps were targeted against 2.0.
If I now run my old apps on the newly build device with CF3.5 added to the
image, they won't run anymore. The error message is
"Error. An unexpected error has occured in MyApp.exe...
MissingMethodException. This application requires a newer version of the
Microsoft .NET Compact Framework than the version installed on this device".
I just took the old binary that ran fine on my old CE6 image with CF2.0.
If I convert with VS2008 my old smart device project from VS2005, deploy it
and try to run it, I get the following error
".NET CF initialization error. The application failed to load required
components. If the .NET Compact Framework is installed on a storage card,
please ensure that this card is in place and launch the application again. If
this fails, a re-installation of the .NET Compact Framework is recommended.
Support info :-214748643 (80000005)"
cgacutil.exe returns "Microsoft .NET Compact Framework [3.5.7283.0,
2.0.7045.0]
All CF2.0 and CF3.5 binaries are in "\Windows" folder on the CE6 device.
My apps do use P/Invoke, but all referred dlls are present (they were not
changed)
What am I doing wrong?
I have not installed anything special on my development PC. VS2008 is
installed and Compact Framework 3.5 was installed with it.
Please advice
Werner
image. CF3.5 was released as a QFE of month January 2008. Before I had only
CF2.0 in my CE6 image.
I have a few smart device C# projects that run fine on my old CE6 image with
CF2.0. These apps were targeted against 2.0.
If I now run my old apps on the newly build device with CF3.5 added to the
image, they won't run anymore. The error message is
"Error. An unexpected error has occured in MyApp.exe...
MissingMethodException. This application requires a newer version of the
Microsoft .NET Compact Framework than the version installed on this device".
I just took the old binary that ran fine on my old CE6 image with CF2.0.
If I convert with VS2008 my old smart device project from VS2005, deploy it
and try to run it, I get the following error
".NET CF initialization error. The application failed to load required
components. If the .NET Compact Framework is installed on a storage card,
please ensure that this card is in place and launch the application again. If
this fails, a re-installation of the .NET Compact Framework is recommended.
Support info :-214748643 (80000005)"
cgacutil.exe returns "Microsoft .NET Compact Framework [3.5.7283.0,
2.0.7045.0]
All CF2.0 and CF3.5 binaries are in "\Windows" folder on the CE6 device.
My apps do use P/Invoke, but all referred dlls are present (they were not
changed)
What am I doing wrong?
I have not installed anything special on my development PC. VS2008 is
installed and Compact Framework 3.5 was installed with it.
Please advice
Werner