This documentation is archived and is not being maintained.
IProjectFile Interface
Visual Studio 2013
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)
The IProjectFile type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Configurations | Gets the list of configurations to build. |
![]() | MetadataFiles | Gets the list of metadata files containing test lists to run. |
![]() | RunCodeAnalysis | Gets or sets the code analysis run type. |
![]() | RunTest | Gets or sets a flag describing whether to run tests. |
![]() | Solutions | Gets the list of solutions and projects to be built. |
![]() | TestContainers | Gets the list of test assemblies containing tests to run. |
| Name | Description | |
|---|---|---|
![]() | AddConfigurationToBuild | Adds a configuration to build to the list of configurations. |
![]() | AddMetadataFile | Adds a metadata file to the list of MetadataFiles. |
![]() | AddSolutionToBuild | Adds a new solution-to-build to the list of Solutions. |
![]() | AddTestContainer | Adds a test container assembly file to the list of TestContainers. |
![]() | 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. |
Show:
