How to use TFS 2012 Team Build for Visual Basic 6 - Blogs

How to use TFS 2012 Team Build for Visual Basic 6

Here is a process to build your VB6 projects in Team foundation Server 2012.

1. Have a copy of your VB6 project
2.Download the MSBuild Extension Pack from the below link and install it on the build machine.
3.Create a xml file with the contents as attached with the mail. Let us name this file as VBBuild.xml
4. Modify the xml to give your project name.
5. Now check-in your existing VB 6.0 project and the above xml file into the TFS2012 source control
Create New Build Definition:
1.Make sure you have the appropriate privileges to create the definition.
2.Expand the Team Explorer, right click on Builds and select New Build Definition.
3.Give the name of the build in the Build definition name text box and optionally you can provide the description of the build in the Description field.
Build defination
4.Configure how you want your build to be triggered. 
build trigger
5.In the Workspace tab, select the path in which your source code and VBBuild.xml file is present ; you can leave the Build Agent Folder to its default value.
build workspace
6. In the Build Defaults tab, select the Build Controller configured for the collection and specify the network path where the output would be stored.
build controller drop location
7.Select the Default Template(DefaultTemplate.xaml) file in the Build process template section
8.Select the VBBuild.xml file in the Items to Build. When the ellipses(…) button is clicked, in the new window only you will be able to select only *.sln files; remove the filter and select all. You will now be able to see all the files. Now select the VBBuild.xml file
9.Clear out the Automated Tests section by again clicking on the ellipses(…) button and removing the tests
10. Select Never for the Perform Code Analysis option
items to build
11. Save the Build definition.
12. Queue and run the build.

Here is the VB build XML code : 

    C:\Program Files\MSBuild\ExtensionPack\4.0\MSBuild.ExtensionPack.tasks
    C:\Program Files\Microsoft Visual Studio\VB98\VB6.exe
    C:\Program Files (x86)\Microsoft Visual Studio\VB98\VB6.exe




How to Prevent Users from Moving Task to Closed State with a non-Zero value Remaining Work field in VSTS/TFS

In this Blog I am going to explain how we can customize Task in VSTS/TFS to Prevent Users from Movin...

Read More >

Dashboard Migrator Tool

This is a web service which helps you to copy the VSTS dashboards from 1 team to another team easing...

Read More >

Canarys Automations Pvt Ltd recognized as finalist for 2017 Microsoft DevOps Partner of the Year Award

  Bengaluru, Karnataka, India — June 2, 2017 — Canarys Automations Pvt Ltd tod...

Read More >

Assertions in Coded UI

Let us discuss how to add assertions in coded UI. Assertions are checkpoints/benchmarks to UI c...

Read More >

Create custom project templates in Visual Studio

Visual studio installation comes with the various predefined project templates, and we can use one o...

Read More >

Bugzilla to TFS Migrator (Part 2 of 4) – Installation

This is the second part of the Bugzilla to TFS Migrator blog series covering the installation of the...

Read More >

Bugzilla to TFS Migrator (Part 3 of 4) – Configuration

This is the third part of the Bugzilla to TFS Migrator blog series covering the configuration of the...

Read More >


Try DevOpSmartBoard Ultimate complete Azure DevOps End-to end reporting tool

Sign Up

  • Recent
  • Popular
  • Tag
Monthly Archive

Contact Us
  • *
  • *