Answered Incremental MSBuild with vcxproj file

  • Wednesday, August 01, 2012 8:45 PM
     
     

    With the following fragment of my standard .vcxproj file, how can I have a msbuild 4.0 process run incrementally for C++? http://msdn.microsoft.com/en-us/library/ms171483.aspx is unclear on the specific format for what I'm looking for.

    Thanks

    <?xml version="1.0" encoding="utf-8"?>
    <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

    ....

      <Target Name = "BuildIncremental"
            Inputs="@(ClInclude);@(ClCompile)"
            Outputs="$(TargetDir)$(TargetName)$(TargetExt)">
    <!--<MSBuild Projects="$(ProjectName).vcxproj" />--> <!-- will cause a circular dependency-->
      </Target>
    </Project>


    bcasner

All Replies