关于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文件都转换不成功,我不知道问题出在哪,请帮忙。
<?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文件都转换不成功,我不知道问题出在哪,请帮忙。
...全文
相关推荐
Vs工程版本转换工具
【标题】Vs工程版本转换工具【描述】中提到的"Vs工程版本转换工具"是一种实用的软件开发辅助工具,它的主要功能是帮助开发者在不同的Visual Studio版本之间转换项目或解决方案文件。
vs2008工程转vs2005 (适合c++和c#)包括转换工具工程源码
**详细说明**: "工程说明.txt"文件很可能是提供转换步骤的详细文档,包括手动修改项目文件的方法、使用转换工具的指南,以及可能遇到的问题和解决策略。阅读这个文档是理解整个转换过程的关键。
vs2008转换工程vs2005
标题“vs2008转换工程vs2005”涉及到的是一个软件开发中的问题,即如何将使用Visual Studio 2008(VS2008)创建的项目或工程转换为能被Visual Studio 2005(VS2005
VS工程转换工具
团队协作优化:使开发者可以轻松地在不同版本之间切换,避免因为版本不一致导致的协作问题。使用VS_工程转换工具时,通常需要按照以下步骤操作:1. 解压VS_工程转换.rar文件,获取工具的可执行程序。
vs2008-2005工程转换工具
标题"vs2008-2005工程转换工具"表明这是一个专门用于解决VS2005工程向VS2008转换问题的工具。


