次の方法で共有


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

'Declaration
<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
Public property Configurations Gets the list of configurations to build.
Public property MetadataFiles Gets the list of metadata files containing test lists to run.
Public property RunCodeAnalysis Gets or sets the code analysis run type.
Public property RunTest Gets or sets a flag describing whether to run tests.
Public property Solutions Gets the list of solutions and projects to be built.
Public property TestContainers Gets the list of test assemblies containing tests to run.

Top

Methods

  Name Description
Public method AddConfigurationToBuild Adds a configuration to build to the list of configurations.
Public method AddMetadataFile Adds a metadata file to the list of MetadataFiles.
Public method AddSolutionToBuild Adds a new solution-to-build to the list of Solutions.
Public method AddTestContainer Adds a test container assembly file to the list of TestContainers.
Public method 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

See Also

Reference

Microsoft.TeamFoundation.Build.Client Namespace