Visual studio 2008 VS2008项目到VS2012的升级失败

Visual studio 2008 VS2008项目到VS2012的升级失败,visual-studio-2008,visual-studio-2012,project,upgrade,leptonica,Visual Studio 2008,Visual Studio 2012,Project,Upgrade,Leptonica,你好,我想用vc 11构建leptonica库,所以我下载了 并尝试使用my vs2012打开,解决方案开始升级,消息为: One-way upgrade Visual Studio will automatically make functional changes to the following projects in order to open them. You will not be able to open these projects in the version of Visu

你好,我想用vc 11构建leptonica库,所以我下载了

并尝试使用my vs2012打开,解决方案开始升级,消息为:

One-way upgrade
Visual Studio will automatically make functional changes to the following projects in order to open them. You will not be able to open these projects in the version of Visual Studio in which they were originally created.
     - liblept168, "C:\Lept\vs2008-1.68\vs2008\leptonica.vcproj"
     - ioformats_reg, "C:\Lept\vs2008-1.68\vs2008\prog_projects\ioformats_reg\ioformats_reg.vcproj"
     - leptonica, "C:\Lept\vs2008-1.68\vs2008\leptonica.sln"

No changes required
These projects can be opened in this version of Visual Studio without changing them. They will continue to open in Visual Studio 2010 SP1 and in this version of Visual Studio.
     - prog_files, "prog_files"
     - prog_projects, "prog_projects"
     - Regression Test, "Regression Test"
     - Test, "Test"
     - Utility, "Utility"
     - liblept Helper, "liblept Helper"
     - Example, "Example"
     - ByType, "ByType"
     - ByFilename, "ByFilename"
     - ByCategory, "ByCategory"
     - Exploration, "Exploration"
     - Basic Box, Boxa and Boxaa Functions, "Basic Box, Boxa and Boxaa Functions"
     - Basic Image Operations, "Basic Image Operations"
     - Basic Pix Array Functions, "Basic Pix Array Functions"
     - Basic Pix Functions, "Basic Pix Functions"
     - Colormap Utilities and Related Operations, "Colormap Utilities and Related Operations"
     - Connected Components in Binary Images, "Connected Components in Binary Images"
     - Formatted IO, "Formatted IO"
     - Fundamental Data Structures for Computation, "Fundamental Data Structures for Computation"
     - Image Display, "Image Display"
     - Image Morphology, "Image Morphology"
     - Image Operations With Filling, "Image Operations With Filling"
     - Image Quantization, Depth Conversion, "Image Quantization, Depth Conversion"
     - Image Scaling, "Image Scaling"
     - Line Graphics and Special Output, "Line Graphics and Special Output"
     - Low-level Pixel Access, "Low-level Pixel Access"
     - Misc, "Misc"
     - Other Geometric Image Transformations, "Other Geometric Image Transformations"
     - Postscript, "Postscript"
     - Printing, "Printing"
     - Specialized Document Image Processing, "Specialized Document Image Processing"
     - Specialized Image Filters, "Specialized Image Filters"
在传递所有项目文件后,已加载解决方案,但有2个项目未能加载,出现以下错误:

Leptonica:

leptonica.vcproj: The item type 'None' is not supported by this project item provider. Parameter name: itemType
Error   leptonica.vcproj: Project upgrade failed.
Warning leptonica_versionnumbers.vsprops: Attribute 'ProjectType' of 'leptonica_versionnumbers' is not supported in this version and has been removed during conversion.
Warning leptonica_versionnumbers.vsprops: Attribute 'Version' of 'leptonica_versionnumbers' is not supported in this version and has been removed during conversion.
Warning leptonica.vcproj: VCWebServiceProxyGeneratorTool is no longer supported. The tool has been removed from your project settings.
Warning leptonica.vcproj: Attribute 'Detect64BitPortabilityProblems' of 'VCCLCompilerTool' is not supported in this version and has been removed during conversion.
Warning leptonica.vcproj: Attribute 'Detect64BitPortabilityProblems' of 'VCCLCompilerTool' is not supported in this version and has been removed during conversion.
Warning leptonica.vcproj: Attribute 'Detect64BitPortabilityProblems' of 'VCCLCompilerTool' is not supported in this version and has been removed during conversion.
Warning leptonica.vcproj: Attribute 'Detect64BitPortabilityProblems' of 'VCCLCompilerTool' is not supported in this version and has been removed during conversion.
prog_projects\ioformats_reg\ioformats_reg.vcproj: The item type 'None' is not supported by this project item provider. Parameter name: itemType
Error   prog_projects\ioformats_reg\ioformats_reg.vcproj: Project upgrade failed.
Warning prog_projects\ioformats_reg\ioformats_reg.vcproj: VCWebServiceProxyGeneratorTool is no longer supported. The tool has been removed from your project settings.
Error:  The following error has occurred during XML parsing: File: C:\Lept\vs2008-1.68\vs2008\leptonica.vcproj Line: 1069 Column: 0 Error Message: 
Parameter is incorrect. The file 'C:\Lept\vs2008-1.68\vs2008\leptonica.vcproj' has failed to load.
Error : The following error has occurred during XML parsing: File: C:\Lept\vs2008-1.68\vs2008\prog_projects\ioformats_reg\ioformats_reg.vcproj 
Line: 376 Column: 0 Error Message: Parameter is incorrect. 
The file 'C:\Lept\vs2008-1.68\vs2008\prog_projects\ioformats_reg\ioformats_reg.vcproj' has failed to load.
和-ioformats\u reg:

leptonica.vcproj: The item type 'None' is not supported by this project item provider. Parameter name: itemType
Error   leptonica.vcproj: Project upgrade failed.
Warning leptonica_versionnumbers.vsprops: Attribute 'ProjectType' of 'leptonica_versionnumbers' is not supported in this version and has been removed during conversion.
Warning leptonica_versionnumbers.vsprops: Attribute 'Version' of 'leptonica_versionnumbers' is not supported in this version and has been removed during conversion.
Warning leptonica.vcproj: VCWebServiceProxyGeneratorTool is no longer supported. The tool has been removed from your project settings.
Warning leptonica.vcproj: Attribute 'Detect64BitPortabilityProblems' of 'VCCLCompilerTool' is not supported in this version and has been removed during conversion.
Warning leptonica.vcproj: Attribute 'Detect64BitPortabilityProblems' of 'VCCLCompilerTool' is not supported in this version and has been removed during conversion.
Warning leptonica.vcproj: Attribute 'Detect64BitPortabilityProblems' of 'VCCLCompilerTool' is not supported in this version and has been removed during conversion.
Warning leptonica.vcproj: Attribute 'Detect64BitPortabilityProblems' of 'VCCLCompilerTool' is not supported in this version and has been removed during conversion.
prog_projects\ioformats_reg\ioformats_reg.vcproj: The item type 'None' is not supported by this project item provider. Parameter name: itemType
Error   prog_projects\ioformats_reg\ioformats_reg.vcproj: Project upgrade failed.
Warning prog_projects\ioformats_reg\ioformats_reg.vcproj: VCWebServiceProxyGeneratorTool is no longer supported. The tool has been removed from your project settings.
Error:  The following error has occurred during XML parsing: File: C:\Lept\vs2008-1.68\vs2008\leptonica.vcproj Line: 1069 Column: 0 Error Message: 
Parameter is incorrect. The file 'C:\Lept\vs2008-1.68\vs2008\leptonica.vcproj' has failed to load.
Error : The following error has occurred during XML parsing: File: C:\Lept\vs2008-1.68\vs2008\prog_projects\ioformats_reg\ioformats_reg.vcproj 
Line: 376 Column: 0 Error Message: Parameter is incorrect. 
The file 'C:\Lept\vs2008-1.68\vs2008\prog_projects\ioformats_reg\ioformats_reg.vcproj' has failed to load.
。\vs2008\leptonica.vcproj:

leptonica.vcproj: The item type 'None' is not supported by this project item provider. Parameter name: itemType
Error   leptonica.vcproj: Project upgrade failed.
Warning leptonica_versionnumbers.vsprops: Attribute 'ProjectType' of 'leptonica_versionnumbers' is not supported in this version and has been removed during conversion.
Warning leptonica_versionnumbers.vsprops: Attribute 'Version' of 'leptonica_versionnumbers' is not supported in this version and has been removed during conversion.
Warning leptonica.vcproj: VCWebServiceProxyGeneratorTool is no longer supported. The tool has been removed from your project settings.
Warning leptonica.vcproj: Attribute 'Detect64BitPortabilityProblems' of 'VCCLCompilerTool' is not supported in this version and has been removed during conversion.
Warning leptonica.vcproj: Attribute 'Detect64BitPortabilityProblems' of 'VCCLCompilerTool' is not supported in this version and has been removed during conversion.
Warning leptonica.vcproj: Attribute 'Detect64BitPortabilityProblems' of 'VCCLCompilerTool' is not supported in this version and has been removed during conversion.
Warning leptonica.vcproj: Attribute 'Detect64BitPortabilityProblems' of 'VCCLCompilerTool' is not supported in this version and has been removed during conversion.
prog_projects\ioformats_reg\ioformats_reg.vcproj: The item type 'None' is not supported by this project item provider. Parameter name: itemType
Error   prog_projects\ioformats_reg\ioformats_reg.vcproj: Project upgrade failed.
Warning prog_projects\ioformats_reg\ioformats_reg.vcproj: VCWebServiceProxyGeneratorTool is no longer supported. The tool has been removed from your project settings.
Error:  The following error has occurred during XML parsing: File: C:\Lept\vs2008-1.68\vs2008\leptonica.vcproj Line: 1069 Column: 0 Error Message: 
Parameter is incorrect. The file 'C:\Lept\vs2008-1.68\vs2008\leptonica.vcproj' has failed to load.
Error : The following error has occurred during XML parsing: File: C:\Lept\vs2008-1.68\vs2008\prog_projects\ioformats_reg\ioformats_reg.vcproj 
Line: 376 Column: 0 Error Message: Parameter is incorrect. 
The file 'C:\Lept\vs2008-1.68\vs2008\prog_projects\ioformats_reg\ioformats_reg.vcproj' has failed to load.
。\ioformats\u reg\ioformats\u reg.vcproj:

leptonica.vcproj: The item type 'None' is not supported by this project item provider. Parameter name: itemType
Error   leptonica.vcproj: Project upgrade failed.
Warning leptonica_versionnumbers.vsprops: Attribute 'ProjectType' of 'leptonica_versionnumbers' is not supported in this version and has been removed during conversion.
Warning leptonica_versionnumbers.vsprops: Attribute 'Version' of 'leptonica_versionnumbers' is not supported in this version and has been removed during conversion.
Warning leptonica.vcproj: VCWebServiceProxyGeneratorTool is no longer supported. The tool has been removed from your project settings.
Warning leptonica.vcproj: Attribute 'Detect64BitPortabilityProblems' of 'VCCLCompilerTool' is not supported in this version and has been removed during conversion.
Warning leptonica.vcproj: Attribute 'Detect64BitPortabilityProblems' of 'VCCLCompilerTool' is not supported in this version and has been removed during conversion.
Warning leptonica.vcproj: Attribute 'Detect64BitPortabilityProblems' of 'VCCLCompilerTool' is not supported in this version and has been removed during conversion.
Warning leptonica.vcproj: Attribute 'Detect64BitPortabilityProblems' of 'VCCLCompilerTool' is not supported in this version and has been removed during conversion.
prog_projects\ioformats_reg\ioformats_reg.vcproj: The item type 'None' is not supported by this project item provider. Parameter name: itemType
Error   prog_projects\ioformats_reg\ioformats_reg.vcproj: Project upgrade failed.
Warning prog_projects\ioformats_reg\ioformats_reg.vcproj: VCWebServiceProxyGeneratorTool is no longer supported. The tool has been removed from your project settings.
Error:  The following error has occurred during XML parsing: File: C:\Lept\vs2008-1.68\vs2008\leptonica.vcproj Line: 1069 Column: 0 Error Message: 
Parameter is incorrect. The file 'C:\Lept\vs2008-1.68\vs2008\leptonica.vcproj' has failed to load.
Error : The following error has occurred during XML parsing: File: C:\Lept\vs2008-1.68\vs2008\prog_projects\ioformats_reg\ioformats_reg.vcproj 
Line: 376 Column: 0 Error Message: Parameter is incorrect. 
The file 'C:\Lept\vs2008-1.68\vs2008\prog_projects\ioformats_reg\ioformats_reg.vcproj' has failed to load.
我查看了leptonica.vcproj,但第1069行中只有空白,这是文件中的最后一行,它是空的。我也没有在这个文件中找到任何“itemType”字符串。与文件ioformats_reg.vcproj相同


如何修复此错误?

我遇到了与此相同的错误: “此项目项提供程序不支持项类型‘None’。参数名称:itemType”

在我的例子中,如果我从.vcproj文件中删除了所有“”,问题就解决了

我不知道是不是同一个案子,但希望这能成为线索

最好的