简体   繁体   English

在windows ce5上运行.net应用程序有哪些要求?

[英]What are the requirements for running .net application on windows ce5?

What are the requirements for running .net framework targeted application on Windows CE 5? 在Windows CE 5上运行.net框架目标应用程序有哪些要求?

If I try to start an application that I developed for Windows Mobile 6, I will get the following error. 如果我尝试启动我为Windows Mobile 6开发的应用程序,我将收到以下错误。

Cannot find 'Projectname' (or one of its components) Make sure the path and filename are correct and that all the required libraries are available 找不到'Projectname'(或其中一个组件)确保路径和文件名正确并且所有必需的库都可​​用

My app is a simple hello world app. 我的应用程序是一个简单的hello world应用程序。 What could cause that such error message? 什么可能导致这样的错误消息?

Is there a way to dertimine which .net compact framework version is running on my system? 有没有办法确定我的系统上运行哪个.net紧凑框架版本?

You can run cgacutil , which is in the Windows folder. 您可以运行Windows文件夹中的cgacutil It should give you a version number of the compact framework installed onto the device. 它应该为您提供安装在设备上的紧凑框架的版本号。 It's likely you dont have the correct compact framework installed. 您可能没有安装正确的紧凑框架。

If you dont have cgacutil, its likely that compact framework isnt installed to the device at all. 如果你没有cgacutil,那很可能紧凑的框架根本没有安装到设备上。 In this case download the latest version of the framework (currently 3.5, available here ). 在这种情况下,下载最新版本的框架(目前3.5,可在此处获得 )。 The install may take around 7MB of space from your main memory. 安装可能会占用主内存大约7MB的空间。 If storage space is tight, it can be installed to external memory, with some potential consequences as discussed here 如果存储空间是紧的,它可以被安装到外部存储器,具有一定的潜在后果所讨论这里

The problem is caused by what you're wondering... Which version of compact framework is installed in your system and, most of all, if there is a version of compact framework installed. 问题是由你想知道的......在你的系统中安装了哪个版本的紧凑框架,最重要的是,如果安装了一个紧凑框架版本。
I suggest you to download the version corresponding to your developing environment and install it in your device. 我建议您下载与您的开发环境相对应的版本并将其安装在您的设备中。

By default, Windows Mobile 5 comes with .NET Compact Framework 1.0 SP3 pre-installed. 默认情况下,Windows Mobile 5预装了.NET Compact Framework 1.0 SP3

An application developed for Windows Mobile 6 is at least going to use .NET Compact Framework 2.0 SP2 , therefore make sure that it is installed on the Windows Mobile 5 device. 为Windows Mobile 6开发的应用程序至少要使用.NET Compact Framework 2.0 SP2 ,因此请确保它安装在Windows Mobile 5设备上。

You can download it here , but generally it is a good practice to install the latest version available, as long as it is supported by the device. 您可以在此处下载,但通常最好安装可用的最新版本,只要设备支持该版本即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM