Build Configurations
Build Configurations allow you to define a specific set of Build Profiles, Additional Locales, and Publishing Targets so that you can quickly Build and Publish a set of outputs as a single operation. Build Configurations can be saved directly from your selections when you start a Build, or can be managed in the Project Settings Editor (opened by clicking the Project Settings ribbon button).
Build Configurations can be particularly useful if you are using build automation (building from the Command Line or Team Foundation Server) in order to identify (as a named configuration you can reference in the command line build) the set of outputs you wish to build.
Build Configuration Fundamentals
Creating a new Build Configuration
- Click the Project Settings button on the Project ribbon tab.
- Select the Build Configurations page.
- Click the New toolbar button.
- The new Build Configuration is created and selected for edit.
- On the right side of the Build Configuration Editor, choose the Build Profiles, Additional Locales, and Publishing Targets you want included in the new Build Configuration.
- The new Build Configuration is now available for selection when you start a Build.
- or -
- Click the Build button on the Project ribbon tab.
- Under the Custom Build Configuration heading, choose the Build Profiles, Additional Locales, and Publishing Targets you want included in the Build Configuration.
- Select the Save Build Configuration option.
- Type an identifying name for the Build Configuration in the Configuration Name: field.
- Click Start Build.
- The Build begins and the new Build Configuration is saved for future use.
Editing a Build Configuration
- Click the Project Settings button on the Project ribbon tab.
- Select the Build Configurations page.
- Select the Build Configuration you want to edit.
- On the right side of the Build Configuration Editor you can modify the Build Configuration properties.
Deleting a Build Configuration
- Click the Project Settings button on the Project ribbon tab.
- Select the Build Configurations page.
- Select the Build Configuration you want to delete.
- Click the Delete toolbar button.
Building a specific Build Configuration
- Click the Build button on the Project ribbon tab.
- The available Build Configurations are listed under the Saved Build Configurations.
- Click the Start Build button next to the required Build Configuration to start a build for that Build Configuration.