[智能设备]Visual Studio.NET 2003开发智能设备入门问题

A.安装开发工具

安装准备:先安装Mobile Application Development Toolkit,并仔细阅读其中的内容 

1.Microsoft ActiveSync 4.1 - Worldwide English

2.Visual Studio.NET 2003

3.SDK for Windows Mobile 2003-based Smartphones

4.Emulator Images for Windows Mobile 2003 Second Edition-based Smartphone

5. Chinese Simplified Emulation Images.msi

6.Windows CE .NET Utilities v1.1 for Visual Studio .NET 2003

7.Windows Mobile Developer Power Toys

其他工具

Windows Mobile 5.0 SDK for Smartphone

Developer Resources for Windows Mobile 2003 Second Edition

eMbedded Visual C++ 4.0

Note: Use the following CD key when installing this software: TRT7H-KD36T-FRH8D-6QH8P-VFJHQ
eMbedded Visual C++ 4.0 SP4

B.部署失败的解决办法

 用.net 2003开发SmartPhone时,在部署的时候会出现如下的错误:

错误: 无法建立连接。请确保此设备已经与开发计算机建立了物理连接。
---------------------- 完成 ---------------------

    生成: 1 已成功, 0 已失败, 0 已跳过
    部署: 0 已成功, 1 已失败, 0 已跳过

解决办法:安装Windows CE .NET Utilities v1.1 for Visual Studio .NET 2003后,到Program Files/Microsoft Visual Studio .NET 2003/CompactFrameworkSDK/WinCE Utilities/DelDesktopCryptKey目录下运行DelDesktopCryptKey.exe,清除当前用户的security key,问题可以解决。

 

C.微软的一篇不错的文章

Microsoft .NET Compact Framework 开发常见问题解答

http://www.microsoft.com/china/msdn/library/NetFramework/netcompactframework/understandingnetcfFAQ.mspx

D.EVC无法连接SmartPhone Device的解决办法

用ActiveSync连接SmartPhone没有问题,但用EVC连接SmartPhone时却报告

“The Microsoft ActiveSync reposrt the following error:Unable to load the device side components.Please check the server configuration settings.”

解决办法:运行C:/Program Files/Windows CE Tools/wce420/SMARTPHONE 2003/Tools>spdps /create /device ,为设备文件创建一个签名证书

程序运行要一段时间,依次出现以下提示

Processing files

Emulator files complete

Device files complete

原始文章:http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/smartphone_security.asp

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值