IProjectFile Members

Include Protected Members
Include Inherited Members

This interface represents a Team Foundation Build project file, TFSBuild.proj.

The IProjectFile type exposes the following members.

Methods

 

Name

Description

Public method

AddConfigurationToBuild

Adds a configuration to build to Configurations in the TFSBuild.proj file.

Public method

AddMetadataFile

Adds a metadata file to MetadataFiles in the TFSBuild.proj file.

Public method

AddSolutionToBuild

Adds a new solution to build to Solutions in the TFSBuild.proj file.

Public method

AddTestContainer

Adds a test container assembly file to TestContainers in the TFSBuild.proj file.

Public method

Save

Generates the TFSBuild.proj file and saves it to the specified version control path. Also generates an empty TFSBuild.rsp file in the same location.

Top

Properties

 

Name

Description

Public property

Configurations

Gets the list of configurations to build.

Public property

MetadataFiles

Gets the list of metadata files. These files contain the test lists.

Public property

RunCodeAnalysis

Gets or sets the code analysis run type: always, default, or never.

Public property

RunTest

Gets or sets the status of tests. If this is set to true, all tests specified by IMetadataFile, are run; if false, no tests are run.

Public property

Solutions

Gets the list of solutions or projects to be built.

Public property

TestContainers

Gets the list of test assemblies. The assemblies contain the tests that will run during the build.

Top

See Also

Reference

IProjectFile Interface

Microsoft.TeamFoundation.Build.Client Namespace