Can the configuration information in build type be customized

Hi all,

During create a build type, there are fields about configuration and platform information. Can these information be customized? For example, I want to add/delete/change the values in the configuration and platform list.

Thanks,

Leon

[271 byte] By [LeonZhu] at [2007-12-20]
# 1

As I remember (I don't have TFS here right now to test it) you can select a value on the list, but also "write" it, if you are asking about that.

And for a Build type already created, you have to modify the .proj file of the build type, you can find it in the source explorer, under the project which owns the build type, you have a folder Team Builds (or similar) and a folder for each build type, with all of it's files, you can modify it, it's a Xml file.

LuisFraile at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...
# 2

Hi Leon,

It's easy to customize the configuration. You need to first customize the configuration of the solution you want to build in configuration manager. And then you can manually modify the .proj file for the build type you defined to match that configuration.

I've never tried customizing the platform (and actually I don't see a need of doing that). But I assume you might be able to do it with some extra work on the solution file.

Thanks,

James

VSTS

JamesSu at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...
# 3

James,

Yes, I find a way to add the configuration values in Build --> Configuration Manager. But After I added the values and checked in, and I created a new build type, in the creation wizard, there is no newly-added values visible to let me select. I close the VSTS and revoke it, in the Configuration manager, the value I added is there, but when I try to re-create a new build type, I still cannot see the value I added in configuration list. What's the problem?

Is there any refreshment problem of VSTS?

Thanks,

Leon

LeonZhu at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...
# 4

Leon,

I don't know how to make it show up in the drop down while you're creating the build type through the wizard. But you can always modify the TFSBuild.proj file after you create the build type. You should be able to modify the session:

<ConfigurationToBuild Include="Debug|x86">
<FlavorToBuild>Debug</FlavorToBuild>
<PlatformToBuild>x86</PlatformToBuild>
</ConfigurationToBuild>

You can specify the customized configuration here (FlavorToBuild), save this file and check it in. Then you can create your build from this build type.

Thanks,

James

VSTS

JamesSu at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...

Visual Studio Team System

Site Classified