设为首页 收藏本站
查看: 848|回复: 0

[转]Win7系统下VS2005_2008不识别WinCE5 SDK

[复制链接]

尚未签到

发表于 2015-5-18 13:27:28 | 显示全部楼层 |阅读模式
  最近客户那边遇到了一个问题:在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.aspx
  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/vssmartdevicesnative/thread/cf730fd1-6cde-4721-b54d-98281787bd57
  http://support.microsoft.com/kb/2022719#top
  http://msdn.microsoft.com/en-us/vstudio/aa964140
  

  转自:
  
http://blog.iyunv.com/joyzml/archive/2010/12/23/6094589.aspx
  
  
  

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-68144-1-1.html 上篇帖子: WIN7系统下如何设置护眼设置 下篇帖子: Win7 64位+VS2008环境下配置 opengl 开发环境
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表