此问题为连接库生成文件的平台类型不匹配的问题,一般在Build 高版本的时候容易出现这个问题.
在VS2005中:
查找:
Project--**Properties--Configuration Properties--Linker--Command Line下有
Additional Properties
你会看到:
/subsystem:windowsce,4.20 /machine:ARM /ARMPADCODE
这时候可以在后面加上 WM5.0 和 WM6.0 的平台信息
/subsystem:windowsce,5.01 /machine:THUMB
/subsystem:windowsce,6.01 /machine:THUMB
重新Build your Project
you would see:
Rebuild All: 1 succeeded, 0 failed, 0 skipped.
Best Regards to all!
本文介绍了解决Visual Studio 2005中因平台类型不匹配导致的构建错误的方法。通过在配置属性中添加特定平台信息,可以成功构建适用于Windows Mobile 5.0和6.0的应用程序。
6102





