关于vs工程转换的问题
大家好。我有个程序,老板让我调通,以前接触过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文件都转换不成功,我不知道问题出在哪,请帮忙。