Microsoft.CppCommon.targets corrupts file path when embedding manifest. (Fix included) - by Hi Mom

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


2
0
Sign in
to vote
ID 625594 Comments
Status Closed Workarounds
Type Bug Repros 1
Opened 11/29/2010 11:15:06 PM
Access Restriction Public

Description

I found a bug in Microsoft.CppCommon.targets.  The problem occurs if you specify an Intermediate Directory path for your application. The error I get is:

9>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(673,5): error MSB3491: Could not write lines to file "\\projects\\test\\build\\tmp\\redird\\Debug\\redird.exe.embed.manifest". The network path was not found.

I have specified my Intermediate Directory to be:

\projects\test\build\tmp\redird\$(Configuration)\

Note the double slashes in the error message.  These are inserted incorrectly by Microsoft.CppCommon.targets.  Interestingly enough, the comment is wrong.  The string is not only going into the .RC file (where it needs to be escaped) it is also used to create the file where it most definitely should NOT be escaped.  This:

  <Target Name="ManifestResourceCompile"
          Condition="'$(EmbedManifestBy)' == 'LINK'">

    <!-- This goes into the rc file as a string so '\' needs to be escaped: IntDir already has one '\',
         so we add one more here. -->
    <PropertyGroup>
      <InputManifest>%(Manifest.OutputManifestFile)</InputManifest>
      <InputManifest>$(InputManifest.Replace(`\`,`\\`))</InputManifest>
    </PropertyGroup>

    <WriteLinesToFile
      Condition="!EXISTS('$(InputManifest)')"
      File="$(InputManifest)"
      Lines=""
      Overwrite="false"
      Encoding ="Unicode"
     />

Needs to be this:

  <Target Name="ManifestResourceCompile"
          Condition="'$(EmbedManifestBy)' == 'LINK'">

    <!-- This goes into the rc file as a string so '\' needs to be escaped: IntDir already has one '\',
         so we add one more here. -->
    <PropertyGroup>
      <InputManifest>%(Manifest.OutputManifestFile)</InputManifest>
      <InputManifest>$(InputManifest.Replace(`\`,`\\`))</InputManifest>
    </PropertyGroup>

    <WriteLinesToFile
      Condition="!EXISTS('%(Manifest.OutputManifestFile)')"
      File="%(Manifest.OutputManifestFile)"
      Lines=""
      Overwrite="false"
      Encoding ="Unicode"
     />
Sign in to post a comment.
Posted by Microsoft on 1/7/2011 at 1:03 PM
If you have additional questions, please let us know.

Felix Huang
Visual C++
Posted by Microsoft on 1/7/2011 at 1:02 PM
Thank you for reporting this issue, I have identify the problem and working on a fix. Unfortantly I dont have a simple workaround for the issue that includes beginning the filename with a backwards slash.

The fix includes changing %Programsfile%\MSBuild\Microsoft.cpp\v4.0\Microsoft.cppcommon.targets FROM:

    <WriteLinesToFile
     Condition="!EXISTS('$(InputManifest)')"
     File="$(InputManifest)"
     Lines=""
     Overwrite="false"
     Encoding ="Unicode"
     />

TO:

    <WriteLinesToFile
     Condition="!EXISTS('%(Manifest.OutputManifestFile)')"
     File="%(Manifest.OutputManifestFile)
     Lines=""
     Overwrite="false"
     Encoding ="Unicode"
     />
Posted by Hi Mom on 12/1/2010 at 1:16 AM
The file, 625594.zip, was uploaded successfully.
Posted by Microsoft on 11/30/2010 at 11:29 PM
Remember name the zipped file as 625594.zip. :)
Posted by Microsoft on 11/30/2010 at 11:28 PM
Hi aurora,

Could you please upload the zipped solution to the workspace bellow?

You can use the following workspace to upload the file:
https://sftasia.one.microsoft.com/choosetransfer.aspx?key=c4ba7ced-aae9-4adf-98fe-08ff1c857488
Password: #Tejy))YPc

Thank you
Microsoft Product Team
Posted by Hi Mom on 11/30/2010 at 9:29 AM
Ha! It replaced the one I wrote to explain with ". The original had the html (and symbol)quot(semicolon) in the include path.
Posted by Hi Mom on 11/30/2010 at 9:27 AM
It looks like it is a bit mangled, the original file had " in the include path and I don't see that in the post.
Posted by Hi Mom on 11/30/2010 at 9:22 AM
Hey, that worked. This is the original solution that was converted:

<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
    ProjectType="Visual C++"
    Version="8.00"
    Name="redird"
    ProjectGUID="{393960C5-A6C9-47FF-8914-37F66D04C2AC}"
    RootNamespace="redird"
    Keyword="Win32Proj"
    >
    <Platforms>
        <Platform
            Name="Win32"
        />
    </Platforms>
    <ToolFiles>
    </ToolFiles>
    <Configurations>
        <Configuration
            Name="Debug|Win32"
            OutputDirectory="\projects\mmorts\build\server\$(ConfigurationName)"
            IntermediateDirectory="\projects\mmorts\build\tmp\redird\$(ConfigurationName)"
            ConfigurationType="1"
            CharacterSet="1"
            >
            <Tool
                Name="VCPreBuildEventTool"
                CommandLine="\projects\mmorts\scripts\prebuild.bat"
            />
            <Tool
                Name="VCCustomBuildTool"
            />
            <Tool
                Name="VCXMLDataGeneratorTool"
            />
            <Tool
                Name="VCWebServiceProxyGeneratorTool"
            />
            <Tool
                Name="VCMIDLTool"
            />
            <Tool
                Name="VCCLCompilerTool"
                Optimization="0"
                AdditionalIncludeDirectories="/projects/library/os/include;/projects/library/utility/include;/projects/library/memory/include;/projects/library/templates/include;/projects/library/debug/include;/projects/library/locale/include;/projects/library/exceptions/include;/projects/library/tasks/include;/projects/library/network/include;/projects/library/db/include;"\projects\library\sdk\MySQL Server 5.1\include";/projects/library/service/include"
                PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;DEBUG;_CRT_SECURE_NO_WARNINGS;LOG_FILE_NAME=L\"\\redird_log.txt\""
                MinimalRebuild="true"
                BasicRuntimeChecks="3"
                RuntimeLibrary="3"
                UsePrecompiledHeader="0"
                WarningLevel="3"
                Detect64BitPortabilityProblems="true"
                DebugInformationFormat="4"
            />
            <Tool
                Name="VCManagedResourceCompilerTool"
            />
            <Tool
                Name="VCResourceCompilerTool"
            />
            <Tool
                Name="VCPreLinkEventTool"
            />
            <Tool
                Name="VCLinkerTool"
                AdditionalDependencies="Ws2_32.lib libmysql.lib"
                LinkIncremental="2"
                AdditionalLibraryDirectories="\projects\library\sdk\MySQL Server 5.1\lib\debug"
                GenerateDebugInformation="true"
                SubSystem="1"
                TargetMachine="1"
            />
            <Tool
                Name="VCALinkTool"
            />
            <Tool
                Name="VCManifestTool"
            />
            <Tool
                Name="VCXDCMakeTool"
            />
            <Tool
                Name="VCBscMakeTool"
            />
            <Tool
                Name="VCFxCopTool"
            />
            <Tool
                Name="VCAppVerifierTool"
            />
            <Tool
                Name="VCWebDeploymentTool"
            />
            <Tool
                Name="VCPostBuildEventTool"
            />
        </Configuration>
        <Configuration
            Name="Release|Win32"
            OutputDirectory="\projects\mmorts\build\server\$(ConfigurationName)"
            IntermediateDirectory="\projects\mmorts\build\tmp\redird\$(ConfigurationName)"
            ConfigurationType="1"
            CharacterSet="1"
            WholeProgramOptimization="1"
            >
            <Tool
                Name="VCPreBuildEventTool"
            />
            <Tool
                Name="VCCustomBuildTool"
            />
            <Tool
                Name="VCXMLDataGeneratorTool"
            />
            <Tool
                Name="VCWebServiceProxyGeneratorTool"
            />
            <Tool
                Name="VCMIDLTool"
            />
            <Tool
                Name="VCCLCompilerTool"
                PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
                RuntimeLibrary="2"
                UsePrecompiledHeader="0"
                WarningLevel="3"
                Detect64BitPortabilityProblems="true"
                DebugInformationFormat="3"
            />
            <Tool
                Name="VCManagedResourceCompilerTool"
            />
            <Tool
                Name="VCResourceCompilerTool"
            />
            <Tool
                Name="VCPreLinkEventTool"
            />
            <Tool
                Name="VCLinkerTool"
                LinkIncremental="1"
                GenerateDebugInformation="true"
                SubSystem="1"
                OptimizeReferences="2"
                EnableCOMDATFolding="2"
                TargetMachine="1"
            />
            <Tool
                Name="VCALinkTool"
            />
            <Tool
                Name="VCManifestTool"
            />
            <Tool
                Name="VCXDCMakeTool"
            />
            <Tool
                Name="VCBscMakeTool"
            />
            <Tool
                Name="VCFxCopTool"
            />
            <Tool
                Name="VCAppVerifierTool"
            />
            <Tool
                Name="VCWebDeploymentTool"
            />
            <Tool
                Name="VCPostBuildEventTool"
            />
        </Configuration>
    </Configurations>
    <References>
    </References>
    <Files>
        <Filter
            Name="Source Files"
            Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
            UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
            >
            <Filter
                Name="Library"
                >
                <File
                    RelativePath="..\..\..\..\library\os\source\win32\address.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\os\source\common\assert.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\utility\source\astring.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\utility\source\baseconversion.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\utility\source\bitbuffer.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\utility\source\commandline.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\network\source\connection.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\network\source\connections.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\network\source\connectionstate.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\os\source\common\console.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\utility\source\crc.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\db\source\database.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\db\source\databaseconnection.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\db\source\databasedeserializer.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\db\source\databaseresultset.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\db\source\databaseserializer.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\os\source\win32\datagramsocket.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\os\source\common\datetime.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\memory\source\defaultallocator.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\os\source\win32\eventsemaphore.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\exceptions\source\exception.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\db\source\fielddefinition.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\os\source\common\file.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\locale\source\format.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\locale\source\formattypes.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\utility\source\hash.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\debug\source\log.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\utility\source\math.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\memory\source\memory.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\memory\source\memorydebugblockinfo.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\memory\source\memorytracker.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\memory\source\memoryutilities.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\locale\source\numberattributes.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\os\source\common\numericlimits.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\os\source\win32\osdirs.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\os\source\win32\oslog.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\locale\source\parsetypes.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\network\source\rawpacket.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\network\source\reliabilitypacket.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\service\source\servicelist.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\os\source\win32\socketsystem.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\network\source\standardpacketfactory.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\utility\source\string.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\utility\source\stringparse.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\os\source\common\textapp.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\os\source\common\textfile.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\utility\source\textformat.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\os\source\win32\thread.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\os\source\win32\time.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\utility\source\unicode.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\utility\source\version.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\utility\source\versioninfo.cpp"
                    >
                </File>
                <File
                    RelativePath="..\..\..\..\library\utility\source\wstring.cpp"
                    >
                </File>
            </Filter>
            <Filter
                Name="main"
                >
                <File
                    RelativePath="..\source\redird.cpp"
                    >
                </File>
                <File
                    RelativePath="..\source\redirdapp.cpp"
                    >
                </File>
            </Filter>
        </Filter>
        <Filter
            Name="Header Files"
            Filter="h;hpp;hxx;hm;inl;inc;xsd"
            UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
            >
        </Filter>
        <Filter
            Name="Resource Files"
            Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
            UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
            >
        </Filter>
    </Files>
    <Globals>
    </Globals>
</VisualStudioProject>
Posted by Hi Mom on 11/30/2010 at 9:20 AM
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="Debug|Win32">
     <Configuration>Debug</Configuration>
     <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|Win32">
     <Configuration>Release</Configuration>
     <Platform>Win32</Platform>
    </ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
    <ProjectGuid>{393960C5-A6C9-47FF-8914-37F66D04C2AC}</ProjectGuid>
    <RootNamespace>redird</RootNamespace>
    <Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <CharacterSet>Unicode</CharacterSet>
    <WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\projects\mmorts\build\server\$(Configuration)\</OutDir>
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\projects\mmorts\build\tmp\redird\$(Configuration)\</IntDir>
    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\projects\mmorts\build\server\$(Configuration)\</OutDir>
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\projects\mmorts\build\tmp\redird\$(Configuration)\</IntDir>
    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <PreBuildEvent>
     <Command>\projects\mmorts\scripts\prebuild.bat</Command>
    </PreBuildEvent>
    <ClCompile>
     <Optimization>Disabled</Optimization>
     <AdditionalIncludeDirectories>/projects/library/os/include;/projects/library/utility/include;/projects/library/memory/include;/projects/library/templates/include;/projects/library/debug/include;/projects/library/locale/include;/projects/library/exceptions/include;/projects/library/tasks/include;/projects/library/network/include;/projects/library/db/include;\projects\library\sdk\MySQL Server 5.1\include;/projects/library/service/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
     <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;DEBUG;_CRT_SECURE_NO_WARNINGS;LOG_FILE_NAME=L"\\redird_log.txt";%(PreprocessorDefinitions)</PreprocessorDefinitions>
     <MinimalRebuild>true</MinimalRebuild>
     <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
     <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
     <PrecompiledHeader>
     </PrecompiledHeader>
     <WarningLevel>Level3</WarningLevel>
     <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
    </ClCompile>
    <Link>
     <AdditionalDependencies>Ws2_32.lib;libmysql.lib;%(AdditionalDependencies)</AdditionalDependencies>
     <AdditionalLibraryDirectories>\projects\library\sdk\MySQL Server 5.1\lib\debug;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
     <GenerateDebugInformation>true</GenerateDebugInformation>
     <SubSystem>Console</SubSystem>
     <TargetMachine>MachineX86</TargetMachine>
    </Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <ClCompile>
     <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
     <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
     <PrecompiledHeader>
     </PrecompiledHeader>
     <WarningLevel>Level3</WarningLevel>
     <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
    </ClCompile>
    <Link>
     <GenerateDebugInformation>true</GenerateDebugInformation>
     <SubSystem>Console</SubSystem>
     <OptimizeReferences>true</OptimizeReferences>
     <EnableCOMDATFolding>true</EnableCOMDATFolding>
     <TargetMachine>MachineX86</TargetMachine>
    </Link>
</ItemDefinitionGroup>
<ItemGroup>
    <ClCompile Include="..\..\..\..\library\os\source\win32\address.cpp" />
    <ClCompile Include="..\..\..\..\library\os\source\common\assert.cpp" />
    <ClCompile Include="..\..\..\..\library\utility\source\astring.cpp" />
    <ClCompile Include="..\..\..\..\library\utility\source\baseconversion.cpp" />
    <ClCompile Include="..\..\..\..\library\utility\source\bitbuffer.cpp" />
    <ClCompile Include="..\..\..\..\library\utility\source\commandline.cpp" />
    <ClCompile Include="..\..\..\..\library\network\source\connection.cpp" />
    <ClCompile Include="..\..\..\..\library\network\source\connections.cpp" />
    <ClCompile Include="..\..\..\..\library\network\source\connectionstate.cpp" />
    <ClCompile Include="..\..\..\..\library\os\source\common\console.cpp" />
    <ClCompile Include="..\..\..\..\library\utility\source\crc.cpp" />
    <ClCompile Include="..\..\..\..\library\db\source\database.cpp" />
    <ClCompile Include="..\..\..\..\library\db\source\databaseconnection.cpp" />
    <ClCompile Include="..\..\..\..\library\db\source\databasedeserializer.cpp" />
    <ClCompile Include="..\..\..\..\library\db\source\databaseresultset.cpp" />
    <ClCompile Include="..\..\..\..\library\db\source\databaseserializer.cpp" />
    <ClCompile Include="..\..\..\..\library\os\source\win32\datagramsocket.cpp" />
    <ClCompile Include="..\..\..\..\library\os\source\common\datetime.cpp" />
    <ClCompile Include="..\..\..\..\library\memory\source\defaultallocator.cpp" />
    <ClCompile Include="..\..\..\..\library\os\source\win32\eventsemaphore.cpp" />
    <ClCompile Include="..\..\..\..\library\exceptions\source\exception.cpp" />
    <ClCompile Include="..\..\..\..\library\db\source\fielddefinition.cpp" />
    <ClCompile Include="..\..\..\..\library\os\source\common\file.cpp" />
    <ClCompile Include="..\..\..\..\library\locale\source\format.cpp" />
    <ClCompile Include="..\..\..\..\library\locale\source\formattypes.cpp" />
    <ClCompile Include="..\..\..\..\library\utility\source\hash.cpp" />
    <ClCompile Include="..\..\..\..\library\debug\source\log.cpp" />
    <ClCompile Include="..\..\..\..\library\utility\source\math.cpp" />
    <ClCompile Include="..\..\..\..\library\memory\source\memory.cpp" />
    <ClCompile Include="..\..\..\..\library\memory\source\memorydebugblockinfo.cpp" />
    <ClCompile Include="..\..\..\..\library\memory\source\memorytracker.cpp" />
    <ClCompile Include="..\..\..\..\library\memory\source\memoryutilities.cpp" />
    <ClCompile Include="..\..\..\..\library\locale\source\numberattributes.cpp" />
    <ClCompile Include="..\..\..\..\library\os\source\common\numericlimits.cpp" />
    <ClCompile Include="..\..\..\..\library\os\source\win32\osdirs.cpp" />
    <ClCompile Include="..\..\..\..\library\os\source\win32\oslog.cpp" />
    <ClCompile Include="..\..\..\..\library\locale\source\parsetypes.cpp" />
    <ClCompile Include="..\..\..\..\library\network\source\rawpacket.cpp" />
    <ClCompile Include="..\..\..\..\library\network\source\reliabilitypacket.cpp" />
    <ClCompile Include="..\..\..\..\library\service\source\servicelist.cpp" />
    <ClCompile Include="..\..\..\..\library\os\source\win32\socketsystem.cpp" />
    <ClCompile Include="..\..\..\..\library\network\source\standardpacketfactory.cpp" />
    <ClCompile Include="..\..\..\..\library\utility\source\string.cpp" />
    <ClCompile Include="..\..\..\..\library\utility\source\stringparse.cpp" />
    <ClCompile Include="..\..\..\..\library\os\source\common\textapp.cpp" />
    <ClCompile Include="..\..\..\..\library\os\source\common\textfile.cpp" />
    <ClCompile Include="..\..\..\..\library\utility\source\textformat.cpp" />
    <ClCompile Include="..\..\..\..\library\os\source\win32\thread.cpp" />
    <ClCompile Include="..\..\..\..\library\os\source\win32\time.cpp" />
    <ClCompile Include="..\..\..\..\library\utility\source\unicode.cpp" />
    <ClCompile Include="..\..\..\..\library\utility\source\version.cpp" />
    <ClCompile Include="..\..\..\..\library\utility\source\versioninfo.cpp" />
    <ClCompile Include="..\..\..\..\library\utility\source\wstring.cpp" />
    <ClCompile Include="..\source\redird.cpp" />
    <ClCompile Include="..\source\redirdapp.cpp" />
</ItemGroup>
<ItemGroup>
    <ProjectReference Include="..\..\..\tools\unittest\unittest\unittest.vcxproj">
     <Project>{71d27fe4-a250-4eb4-9f30-1a7eed41ab32}</Project>
     <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
    </ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
Posted by Hi Mom on 11/30/2010 at 9:18 AM
The error I get is:

The following files were not successfully attached.
redird.vcxproj
Posted by Hi Mom on 11/30/2010 at 9:16 AM
Is there an email I can send the files to? Every time I try to add an attachment it says that it failed. I tried IE and Firefox.
Posted by Microsoft on 11/30/2010 at 2:00 AM
Hi aurora,

We have try to Open a Project Settings Configuration Properties Intermediate Directory Enter a path that is absolute but doesn't include a drive letter, for example:

\evenleung\D\$(Configuration)

result:
error RC2135: file not found: \evenleung\D\Debug\test14.exe.embed.manifest    c:\evenleung\D\Debug\test14_manifest.rc    1    1

Could you share your project to us?

Thank you very much,
Microsoft Connect Support Team
Posted by Microsoft on 11/29/2010 at 11:21 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)