惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
WordPress大学
WordPress大学
云风的 BLOG
云风的 BLOG
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
腾讯CDC
V
V2EX
Martin Fowler
Martin Fowler
A
About on SuperTechFans
大猫的无限游戏
大猫的无限游戏
Blog — PlanetScale
Blog — PlanetScale
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
酷 壳 – CoolShell
酷 壳 – CoolShell
C
Check Point Blog
博客园 - 【当耐特】
Cisco Talos Blog
Cisco Talos Blog
The Hacker News
The Hacker News
K
Kaspersky official blog
Security Latest
Security Latest
H
Help Net Security
博客园_首页
美团技术团队
Spread Privacy
Spread Privacy
博客园 - 司徒正美
Hugging Face - Blog
Hugging Face - Blog
S
SegmentFault 最新的问题
G
Google Developers Blog
NISL@THU
NISL@THU
爱范儿
爱范儿
I
Intezer
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
阮一峰的网络日志
阮一峰的网络日志
N
News and Events Feed by Topic
P
Privacy International News Feed
Application and Cybersecurity Blog
Application and Cybersecurity Blog
S
Security @ Cisco Blogs
Schneier on Security
Schneier on Security
雷峰网
雷峰网
人人都是产品经理
人人都是产品经理
V
Vulnerabilities – Threatpost
W
WeLiveSecurity
P
Palo Alto Networks Blog
G
GRAHAM CLULEY
Hacker News: Ask HN
Hacker News: Ask HN
I
InfoQ
The Cloudflare Blog
F
Full Disclosure
SecWiki News
SecWiki News
宝玉的分享
宝玉的分享
N
Netflix TechBlog - Medium

博客园 - answer

SQL查询重复记录 如何使用两台 NETGEAR 无线路由器进行无线中继(WDS) [转]取当前日期是在一年中的第几周 [转]写在UserControl销毁之时 给List排序( list sort) [转]检查本地DNS服务器是否正常工作及解决方法 SQLITE入门至精通 [转]WM手机,关于如何让手机一直运行下去,而不进入待机 [转]string表达式运算 [转]HTC G11 ROOT获取权限教程 [转]WebForm 与 winform 路径获取 [转]win7 系统装SQLServer2000 成功。 Mobile Development: Disable Windows Mobile 6.5 Start and Close Button [转]Windows Mobile: Hide StartButton in WinMo 6.5.x Windows CE 电源管理(转贴) [转]分享8个超棒的免费高质量图标搜索引擎 [转]windows 7 下ASP.net 本地配置 ( IIS 7) [转]SQLite存取二进制数据 [转]SelectObject() 装载字体 VC EVC
[转]Win7系统下VS2005_2008不识别WinCE5 SDK
answer · 2011-03-30 · via 博客园 - answer

最近客户那边遇到了一个问题:在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.csdn.net/joyzml/archive/2010/12/23/6094589.aspx