IProjectFile Interface
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
'Déclaration
<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 | |
---|---|---|
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. |
Top
Methods
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. |
Top