Win7系统下VS2005_2008不识别WinCE5 SDK
2010年12月23日
最近客户那边遇到了一个问题:在Windows 7操作系统下,使用VS2005/2008开发WinCE智能设备应用程序的时候,识别不到机器上已经安装好了的WinCE5 SDK。问题解决后,将搜集的资料做一下总结。
一微软网站上的问题描述
Unable to install a Windows CE 5 SDK provided by a vendor on a Windows Vista or Windows 7 machine running Visual Studio 2008. This SDK will install on Windows XP machines with Visual Studio 2008. Though the SDK will appear in the list of programs that can be uninstalled it will not appear as a target for a smart device project.
二导致此问题的根本原因
Though not proven, it would seem that when the installation is run on Windows Vista or Windows 7 some part of that process is not running at an appropriately authorized level to successfully install the SDK.
Specifically, the file C:\Program Files\Microsoft Visual Studio 9.0\VC\vcpackages\WCE.VC
Platform.config does not get updated(注:这个路径是针对VS2008的)
三解决办法
1 微软提出的解决方法:
To successfully install a CE 5 SDK use the following steps:
1) Open a command prompt with administrator authority
2) Enter the command "msiexec /package SDKinstall.msi" where SDKInstall.msi is the name of the .msi file you wish to install
3) Step through the installation process
This process will successfully install the SDK as expected. To check for a successful installation look for a reference to the SDK in C:\Program Files\Microsoft Visual Studio 9.0\VC\vcpackages\WCE.VCPlatform.config assuming Visual Studio is installed in the default location. A smart device project will now offer the new SDK as a target.
2 论坛网友A的建议
1. Make sure you install Visual Studio 2005 Service Pack 1 and Visual Studio 2005 Service Pack 1 Update for Windows Vista
2. Run the VS2005 as Administrator (right click on the shortcut to VS2005 and then select "Run as Administrator).
The known issue list and more other information can be found from the following link:
Visual Studio on Windows Vista and Windows 7
http://msdn.microsoft.com/en-us/vstudio/aa948853.a spx
If possible I would recommend you use VS2008 on Windows 7 64-bit. That's what I am using and VS2008 has no problem recognizing Windows CE SDK.
3 论坛网友B的建议
An update on this issue I have discovered that it is WCE.VCPlatform.config is not being updated by the SDK install process on Windows 7.
I Solved the issue by installing an identical set of SDK's on a Win XP machine then copied the file to the C:\Program Files\Microsoft Visual Studio 9.0\VC\vcpackages\WCE.VCPlatform.
config.(注:此路径也是针对VS2008的)
附:我直接采用了网友B的建议,目前来看已经能够Win7上开发了,没发现什么由此而产生的问题。
相关网页地址:
http://social.msdn.microsoft.com/Forums/zh-SG/vssm artdevicesnative/thread/cf730fd1-6cde-4721-b54d-982 81787bd57
http://support.microsoft.com/kb/2022719#top
http://msdn.microsoft.com/en-us/vstudio/aa964140
发表评论
-
如何导出wince6.0的SDK 添加MFC支持
2012-01-20 09:24 655如何导出wince6.0的SDK 添加MFC支持 2010年 ... -
Broadcom芯片53262的SDK移植
2012-01-20 09:24 1586Broadcom芯片53262的SDK移植 ... -
Windows Mobile SDK安装失败解决方法
2012-01-20 09:24 684Windows Mobile SDK安装失败解决方法 201 ... -
C# windows media encoder编程 JPG与MP3制作WMV视频-windows media encoder sdk解决方案
2012-01-20 09:24 777C# windows media encoder编程 JPG与 ... -
礼乐文明与和谐社会的构建
2012-01-19 14:24 611礼乐文明与和谐社会的 ... -
河南省普通高中毕业班高考适应性测试语文试卷
2012-01-19 14:24 534河南省普通高中毕业班高考适应性测试语文试卷 2011年04月 ... -
复兴礼仪的问题
2012-01-19 14:24 393复兴礼仪的问题 2011年1 ... -
老子哲理和孔子论语
2012-01-19 14:24 649老子哲理和孔子论语 20 ... -
ecshop transport.js/run() error:undefined
2012-01-17 04:13 427ecshop transport.js/run() error ... -
flash LocalConnection Error #2044: 未处理的 AsyncErrorEvent:
2012-01-17 04:13 1015flash LocalConnection Error #20 ... -
[javascript][Error]ie下Error对象
2012-01-17 04:13 630[javascript][Error]ie下Error对象 ... -
错误记录--ReferenceError Error #1056
2012-01-17 04:13 514错误记录--ReferenceError Error #105 ... -
AS3代码错误ReferenceError: Error #1069
2012-01-17 04:13 600AS3代码错误ReferenceError: Error #1 ... -
赞美女性的词语大全
2012-01-16 03:02 886赞美女性的词语大全 2009年09月22日 赞美女性的词 ... -
[转]在Winform(C#)中使用Flash控件
2012-01-16 03:02 629[转]在Winform(C#)中使用Flash控件 2009 ... -
看雪技术论坛加密与解密工具新年大礼包2007光盘
2012-01-16 03:02 1238看雪技术论坛加密与解 ... -
制作课件的软件及特点作用
2012-01-16 03:02 541制作课件的软件及特点作用 2009年12月23日 一、P ... -
作业3
2012-01-16 03:02 443作业3 2009年10月24日 计算机语言百花争妍的七 ...
相关推荐
打开“程序”—“命令提示符”,右键“以管理员身份运行”
EVC4.0 WINCE500 Emulator_x86 中文化SDK
VS2005下的wince环境中的TCP通信服务器程序
wince6.0模拟器 wince模拟器 WINCE6.0_CHS_SDK
wince下的全国车牌查询系统(vs2005全套工程文件)
VS2005_WINCE6.0安装指导.pdf
wince6.0 chs sdk是WinCE6.0开发环境(CHSINT SDK For WinCE 6.0)是在windows下开发wince程序的环境搭建和代码编写工具。很不错,值得收藏哦。
这个是wince6.0下的sdk,可以直接安装,是中文的,非常好用
WinCE_SDKWinCE_SDK
目前权限只能上传45MB大小的文件,只能分包压缩上传了,需要用的请将两个压缩包都下载下来再解压缩。
1.Win7_X64+VS2005+WinCE5.0开发环境搭建; 2.如有问题,联系chanior2005@gmail.com
这个是安装在vs2005中的,然后就可以在vs2005下开发基于windowsCE5.0设备上的软件,有3个部分,资源名分别是 1.WinCE5.0_emulator_SDK.part1.rar 2.WinCE5.0_emulator_SDK.part2.rar 3.WinCE5.0_emulator_SDK.part3....
实现电脑连接wince PDA,实现可上传下载文件
Vs2008+C#下WinCE开发环境配置,以及简单的例子
Wince6.0SDK,用于VS2008 开发WINCE程序,有需要的可以下载。
自己实现的,在wince下的中英文切换,开发环境是,evc+wince sdk.希望对大家有帮助.
CHSEmn.msi vs2005新建platform builder失败后,可用此msi安装wince6 sdk
wince5.0 sdk vs2008可用
Wince6.0中文简体SDK开发包