Navigation:  Actions > Microsoft >

Make VC6 Action

Previous pageReturn to chapter overviewNext page

The Make VC6 custom action creates a step to build Microsoft Visual C++ 6.0 and Embedded Visual C++ 3.0 and 4.0 projects and workspaces and to set or increment version and/or property information in a resource file.


This custom action adds functionality that is missing from Microsoft's command-line tools--It supports building projects and multi-project workspaces without having to specify the name of each project, setting the project's DLL base address, setting or incrementing project versions and properties across workspaces, projects, or resource files, and more.  See the VStudio.bld sample for sample usage.


When building projects, this action analyzes the project or workspace and all dependencies and invokes the MSDEV or EVC command-line executable for each project in the correct order.  All build output from the compiler, linker, etc. is displayed.  When building workspaces, the action adds /NORECURSE to the command-line when calling MSDEV since the action analyzes the dependencies (without this flag, projects in a multi-project workspace would be built multiple times, since both the action and MSDEV would analyze the project dependencies).


If any errors occur while building, the error output is logged to the Output pane, and the action aborts.  After correcting the errors, build the project again and it will continue from the point of failure, since all successfully completed projects will be up-to-date and will not be built again (unless the Force flag is used).


Project/Workspace Tab


Versions Tab


Properties Tab


Options Tab


Advanced Tab


Remote Tab



If Visual Build doesn't detect that this product is installed when first run, this action will not be displayed (existing steps will still be displayed in the Step panes and will build normally).  To show all hidden actions, right-click in the Actions pane and choose Show Hidden.
This action can also be used to build VC6 projects and workspaces with Xoreax IncrediBuild (v2.0 and later).  On the Options tab, set the Override default MSDEV location (or define and use a global macro) to the full path to BuildConsole.exe (usually C:\Program Files\Xoreax\IncrediBuild\BuildConsole.exe), and enter any IncrediBuild-specific switches in the Additional Command-line Options field.