VC6 ClassMSBuild Extension Pack Help 4.0.12.0
Valid TaskActions are:

Build (Required: Projects Optional: MSDEVPath, StopOnError)

Remote Execution Support: NA

Inheritance Hierarchy

SystemObject
  Microsoft.Build.UtilitiesTask
    MSBuild.ExtensionPackBaseTask
      MSBuild.ExtensionPack.VisualStudioVC6

Namespace: MSBuild.ExtensionPack.VisualStudio
Assembly: MSBuild.ExtensionPack (in MSBuild.ExtensionPack.dll) Version: 4.0.0.0

The VC6 type exposes the following members.

Constructors

  NameDescription
Public methodVC6
Top
Properties

  NameDescription
Public propertyMSDEVPath
Sets the MSDEV path. Default is [Program Files]\Microsoft Visual Studio\Common\MSDev98\Bin\MSDEV.EXE
Public propertyProjects
Sets the .dsp/.dsw projects to build.
Public propertyStopOnError
Set to true to stop processing when a project in the Projects collection fails to compile. Default is false.
Top
Examples

<Project ToolsVersion="4.0" DefaultTargets="Default" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <PropertyGroup>
        <TPath>$(MSBuildProjectDirectory)\..\MSBuild.ExtensionPack.tasks</TPath>
        <TPath Condition="Exists('$(MSBuildProjectDirectory)\..\..\Common\MSBuild.ExtensionPack.tasks')">$(MSBuildProjectDirectory)\..\..\Common\MSBuild.ExtensionPack.tasks</TPath>
    </PropertyGroup>
    <Import Project="$(TPath)"/>
    <ItemGroup>
        <!-- This uses $(Platform) and $(Configuration) for all projects in the .dsp file -->
        <ProjectsToBuild Include="C:\MyVC6Project.dsp"/>
        <!-- Uses supplied platform and configuration for all projects in the .dsp file -->
        <ProjectsToBuild Include="C:\MyVC6Project2.dsp">
            <Platform>Win32</Platform>
            <Configuration>Debug</Configuration>
        </ProjectsToBuild>
        <!-- Uses $(Platform) and $(Configuration) for just the specified projects in the .dsw file -->
        <ProjectsToBuild Include="C:\MyVC6Project3.dsw">
            <Projects>Project1;Project2</Projects>
        </ProjectsToBuild>
    </ItemGroup>
    <Target Name="Default">
        <!-- Build a collection of VC6 projects -->
        <MSBuild.ExtensionPack.VisualStudio.VC6 TaskAction="Build" Projects="@(ProjectsToBuild)"/>
    </Target>
</Project>
See Also

Reference