VS2005下用不同的SDK创建的WINCE应用工程怎么在自己的SDK环境下打开?用不同的SDK包建立的工程环境怎样才能有兼容性?

xqhrs232 2010-04-03 09:29:05
VS2005下用不同的SDK创建的WINCE应用工程怎么在自己的SDK环境下打开?用不同的SDK包建立的工程环境怎样才能有兼容性?
...全文
624 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
zgj98412 2011-12-28
  • 打赏
  • 举报
回复
看到这个解决方法还是不会操作啊,请指教!谢谢!QQ 42325124
xqhrs232 2010-04-03
  • 打赏
  • 举报
回复
有一个工程采用window mobile 5.0的SDK创建,vs2005里面没有安装5.0的SDK所以无法打开。

错误信息是:

"The project consists entirely of configurations that require support for platforms which are not installed on this machine. The project cannot be loaded."



但是安装后发现还是不行。在网上搜索了以下,发现是工程里面的SDK名称不对所以打不开,解决方法如下:




Visual Studio 2005 Smart Device Native IDE will show the Windows Mobile 5.0 PPC/SP platform name as "Windows Mobile 5.0 Pocket PC SDK 2" when Orcas, Visual Studio 2005, and Windows Mobile 5.0 PPC/SP SDK are installed on the same computer. An incorrect platform name can affect you in one of the following ways:

The default deployment target for the project will be changed to "Windows CE Device" instead of a Windows Mobile 5.0 emulator.
Opening an existing Visual Studio 2005 Smart Device Native project for Windows Mobile 5.0 platform in Visual Studio 2005 will fail with an error "The project consists entirely of configurations that require support for platforms which are not installed on this computer. The project cannot be loaded."
To resolve this issue:

Open Visual Studio 2005 command prompt.
Change directory to "%VCINSTALLDIR%\vcpackages".
Open "WCE.VCPlatform.config" file in VS and edit the file to make the following changes:
For Windows Mobile 5.0 Pocket PC SDK
Replace "<PlatformName>Windows Mobile 5.0 Pocket PC SDK 2 (ARMV4I)</PlatformName>"
With "<PlatformName>Windows Mobile 5.0 Pocket PC SDK (ARMV4I)</PlatformName>"
For Windows Mobile 5.0 Smartphone SDK
Replace "<PlatformName>Windows Mobile 5.0 Smartphone SDK 2 (ARMV4I)</PlatformName>"
With "<PlatformName>Windows Mobile 5.0 Smartphone SDK (ARMV4I)</PlatformName>"
xqhrs232 2010-04-03
  • 打赏
  • 举报
回复
vs2005工程无法打开的解决办法

http://bbs.edukit.com.cn/dispbbs.asp?boardid=14&Id=440&page=4
xqhrs232 2010-04-03
  • 打赏
  • 举报
回复
好不容易从网上弄到了一个带源码的工程但老是打不开.怎么修改这个VS2005工程的配置文件,把配置文件里面SDK的要求换成自己环境已经有的SDK?

19,504

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 嵌入开发(WinCE)
社区管理员
  • 嵌入开发(WinCE)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧