关于vs工程转换的问题

kenyou79 2019-02-01 12:58:03
大家好。我有个程序,老板让我调通,以前接触过VC 6.0编程,但是很久没做这个了,于是没办法又拾起了VS。我电脑上装的是VS 2010,而这个程序应该是在VS 2008上编写的(我用文本阅读器打开SLN文件,显示的版本号确实是10.0版VS 2008),用VS 2010打开SLN文件时,会提示转换工程,于是我按照向导程序来转换,但是转换出错了。转换后生成的UpgradeLog.xml如下:
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type='text/xsl' href='_UpgradeReport_Files/UpgradeReport.xslt'?><UpgradeLog>
<Properties><Property Name="Solution" Value="TerPos">
</Property><Property Name="Solution File" Value="E:\Codes\RefPos\TerPos.sln">
</Property><Property Name="Date" Value="2019年1月28日">
</Property><Property Name="Time" Value="11:50">
</Property></Properties><Event ErrorLevel="0" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Converting project file 'E:\Codes\RefPos\Utilities\Utilities.vcproj'.">
</Event><Event ErrorLevel="1" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Failed to upgrade platform 'Pocket PC 2003 (ARMV4)'. Please make sure you have it installed under '%vctargetspath%\platforms\Pocket PC 2003 (ARMV4)'">
</Event><Event ErrorLevel="1" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Failed to upgrade platform 'Windows Mobile 5.0 Pocket PC SDK (ARMV4I)'. Please make sure you have it installed under '%vctargetspath%\platforms\Windows Mobile 5.0 Pocket PC SDK (ARMV4I)'">
</Event><Event ErrorLevel="1" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Failed to upgrade platform 'Windows Mobile 6 Standard SDK (ARMV4I)'. Please make sure you have it installed under '%vctargetspath%\platforms\Windows Mobile 6 Standard SDK (ARMV4I)'">
</Event><Event ErrorLevel="1" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Failed to upgrade platform 'STANDARDSDK_500 (ARMV4I)'. Please make sure you have it installed under '%vctargetspath%\platforms\STANDARDSDK_500 (ARMV4I)'">
</Event><Event ErrorLevel="1" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Failed to upgrade platform 'STANDARDSDK_500 (x86)'. Please make sure you have it installed under '%vctargetspath%\platforms\STANDARDSDK_500 (x86)'">
</Event><Event ErrorLevel="1" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Failed to upgrade platform 'STANDARDSDK_500 (SH4)'. Please make sure you have it installed under '%vctargetspath%\platforms\STANDARDSDK_500 (SH4)'">
</Event><Event ErrorLevel="1" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Failed to upgrade platform 'STANDARDSDK_500 (MIPSII)'. Please make sure you have it installed under '%vctargetspath%\platforms\STANDARDSDK_500 (MIPSII)'">
</Event><Event ErrorLevel="1" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Failed to upgrade platform 'STANDARDSDK_500 (MIPSII_FP)'. Please make sure you have it installed under '%vctargetspath%\platforms\STANDARDSDK_500 (MIPSII_FP)'">
</Event><Event ErrorLevel="1" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Failed to upgrade platform 'STANDARDSDK_500 (MIPSIV)'. Please make sure you have it installed under '%vctargetspath%\platforms\STANDARDSDK_500 (MIPSIV)'">
</Event><Event ErrorLevel="1" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Failed to upgrade platform 'STANDARDSDK_500 (MIPSIV_FP)'. Please make sure you have it installed under '%vctargetspath%\platforms\STANDARDSDK_500 (MIPSIV_FP)'">
</Event><Event ErrorLevel="1" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Failed to upgrade platform 'Ti35xx_sdk (ARMV4I)'. Please make sure you have it installed under '%vctargetspath%\platforms\Ti35xx_sdk (ARMV4I)'">
</Event><Event ErrorLevel="1" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Failed to upgrade platform 'GeoRef (ARMV4I)'. Please make sure you have it installed under '%vctargetspath%\platforms\GeoRef (ARMV4I)'">
</Event><Event ErrorLevel="1" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Failed to upgrade platform 'Windows Mobile 6 Professional SDK (ARMV4I)'. Please make sure you have it installed under '%vctargetspath%\platforms\Windows Mobile 6 Professional SDK (ARMV4I)'">
</Event><Event ErrorLevel="1" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Failed to upgrade platform 'CE6A01 (ARMV4I)'. Please make sure you have it installed under '%vctargetspath%\platforms\CE6A01 (ARMV4I)'">
</Event><Event ErrorLevel="1" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Failed to upgrade platform 'PsionTeklogixCE500 (ARMV4I)'. Please make sure you have it installed under '%vctargetspath%\platforms\PsionTeklogixCE500 (ARMV4I)'">
</Event><Event ErrorLevel="1" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Failed to upgrade platform 'PsionTeklogixCE500 (x86)'. Please make sure you have it installed under '%vctargetspath%\platforms\PsionTeklogixCE500 (x86)'">
</Event><Event ErrorLevel="1" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="VCWebServiceProxyGeneratorTool is no longer supported. The tool has been removed from your project settings.">
</Event><Event ErrorLevel="1" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Failed to upgrade 'Debug|Pocket PC 2003 (ARMV4)'. Please make sure you have the corresponding platform installed under '%vctargetspath%\platforms\Pocket PC 2003 (ARMV4)'">
</Event><Event ErrorLevel="1" Project="E:\Codes\RefPos\Utilities\Utilities.vcproj" Source="" Description="Cannot load the project due to a corrupt project file.">
</Event><Event ErrorLevel="2" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="The project configuration dimension name/value "(Platform, Win32)" was not found in the project manifest.">
</Event><Event ErrorLevel="2" Project="E:\Codes\RefPos\Utilities\Utilities.vcproj" Source="" Description="The following error has occurred during XML parsing: File: E:\Codes\RefPos\Utilities\Utilities.vcproj Line: 149 Column: 5 Error Message: 系统错误: -2147154677。 The file 'E:\Codes\RefPos\Utilities\Utilities.vcproj' has failed to load.">
</Event><Event ErrorLevel="2" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Project upgrade failed.">
</Event><Event ErrorLevel="3" Project="Utilities" Source="Utilities\Utilities.vcproj" Description="Not Converted">
这只是LOG文件的节选,因为字数限制,我只贴了一部分,就是该程序目录下Utilities工程的转换结果,提示转换不成功,这个程序还包含FileLoad,FilePrint,ImGRC,IonMap这几个工程,其转换结果和报错都是类似的,最后只有sln这一个文件转换成功,各个工程的vcproj文件都转换不成功,我不知道问题出在哪,请帮忙。
...全文
347 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
wuxia2118 2019-02-01
  • 打赏
  • 举报
回复
用VC2010可以打开VC6的dsp文件,打开后就不能用VC6打开了

16,471

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • Web++
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

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