Note: This API is now obsolete.
Interface for a Team Foundation Server build project file (TfsBuild.proj).
Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
声明
<ObsoleteAttribute("This interface has been deprecated. Please remove all references.",  _
    True)> _
Public Interface IProjectFile
[ObsoleteAttribute("This interface has been deprecated. Please remove all references.", 
    true)]
public interface IProjectFile
[ObsoleteAttribute(L"This interface has been deprecated. Please remove all references.", 
    true)]
public interface class IProjectFile
[<ObsoleteAttribute("This interface has been deprecated. Please remove all references.", 
    true)>]
type IProjectFile =  interface end
public interface IProjectFile
The IProjectFile type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Configurations | Gets the list of configurations to build. | 
| .gif) | MetadataFiles | Gets the list of metadata files containing test lists to run. | 
| .gif) | RunCodeAnalysis | Gets or sets the code analysis run type. | 
| .gif) | RunTest | Gets or sets a flag describing whether to run tests. | 
| .gif) | Solutions | Gets the list of solutions and projects to be built. | 
| .gif) | TestContainers | Gets the list of test assemblies containing tests to run. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | AddConfigurationToBuild | Adds a configuration to build to the list of configurations. | 
| .gif) | AddMetadataFile | Adds a metadata file to the list of MetadataFiles. | 
| .gif) | AddSolutionToBuild | Adds a new solution-to-build to the list of Solutions. | 
| .gif) | AddTestContainer | Adds a test container assembly file to the list of TestContainers. | 
| .gif) | Save | Generates the project file and saves it to the specified version control path. Also generates an empty TfsBuild.rsp file in the same location. | 
Top