简体   繁体   中英

Converting VS2008 to VS2010 project “cannot find the file specified”

I am trying to upgrade a Visual C++ 2008 project to a Visual C++ 2010 project. However, when I attempt to do so, I receive the following error:

The following error has occurred during XML parsing: File: C:\\Documents and Settings\\t-aruns\\Documents\\Visual Studio 2008\\Projects\\test\\test\\test.vcproj Line: 9 Column: 2 Error Message: The system cannot find the file specified. The file 'C:\\Documents and Settings\\t-aruns\\Documents\\Visual Studio 2008\\Projects\\test\\test\\test.vcproj' has failed to load.

The relevant lines of the .vcproj file in question is the following:

<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
    ProjectType="Visual C++"
    Version="9.00"
    Name="test"
    ProjectGUID="{D60ADCAC-E0C0-470A-91EC-097BB293141A}"
    Keyword="AtlProj"
    TargetFrameworkVersion="196613"
    >
    <Platforms>
        <Platform
            Name="Win32"
        />
    </Platforms>
    <ToolFiles>
    </ToolFiles>
    <Configurations>
        <Configuration
            Name="Debug|Win32"
            OutputDirectory="$(ConfigurationName)"
            IntermediateDirectory="$(ConfigurationName)"
            ConfigurationType="2"
            UseOfATL="2"
            ATLMinimizesCRunTimeLibraryUsage="false"
            CharacterSet="1"
            >
            <Tool
                Name="VCPreBuildEventTool"
            />
...

Can anyone provide some guidance as to what the cause of this error message is?

Thank you.

~Arun

您是否从其他位置复制了这些文件,而该位置在.vcproj文件上具有与尝试升级的用户不同的安全设置?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM