Compact Framework Targeting

If the smart device project is set to CF 2.0, Windows CE 5.0, should the same application run on Windows Mobile 6 with CF 3.5 installed?

I managed to install it (application CF 2), but at startup I received an error stating that the assemblies could not be downloaded and that CF could not be installed. This led me to believe that smart device designs would be used ONLY for the framework they were aimed at, and not any versions lower or higher.

Any help would be greatly appreciated.

+4
source share
2 answers

Use the App.confiog or MAchine.config file to establish version compatibility for your application. This blog entry talks about launching 1.0 applications under 2.0, but the process is the same.

+1
source

I have a WinCE5-oriented CF2.0 project, it also works on WinCE6 CF35. In some places, Windows Mobile is very different. Try changing the target CF35 and Win Mobile and see which alerts will be thrown. open the project file in a text editor and change <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> . Change the target platform in VisualStudio. Rightclick in the project, → Change target ..

0
source

Source: https://habr.com/ru/post/1306653/


All Articles