VB6 ClassMSBuild Extension Pack Help 4.0.12.0
Valid TaskActions are:

Build (Required: Projects Optional: VB6Path, StopOnError)

Remote Execution Support: NA

Inheritance Hierarchy

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

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

The VB6 type exposes the following members.

Constructors

  NameDescription
Public methodVB6
Top
Properties

  NameDescription
Public propertyIfModificationExists
Only build if any referenced source file is newer then the build output
Public propertyProjects
Sets the projects. Use an 'OutDir' metadata item to specify the output directory. The OutDir will be created if it does not exist.
Public propertyStopOnError
Set to true to stop processing when a project in the Projects collection fails to compile. Default is false.
Public propertyVB6Path
Sets the VB6Path. Default is [Program Files]\Microsoft Visual Studio\VB98\VB6.exe
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>
    <ProjectsToBuild Include="C:\MyVB6Project.vbp">
      <OutDir>c:\output</OutDir>
      <!-- Note the special use of ChgPropVBP metadata to change project properties at Build Time -->
      <ChgPropVBP>RevisionVer=4;CompatibleMode="0"</ChgPropVBP>
    </ProjectsToBuild>
    <ProjectsToBuild Include="C:\MyVB6Project2.vbp"/>
  </ItemGroup>
  <Target Name="Default">
      <!-- Build a collection of VB6 projects -->
    <MSBuild.ExtensionPack.VisualStudio.VB6 TaskAction="Build" Projects="@(ProjectsToBuild)"/>
  </Target>
</Project>
See Also

Reference