Dela via


IBuildDefinition.CreateProjectFile Method

Note: This API is now obsolete.

Creates an IProjectFile from the build definition with values for the obsolete properties set to values determined by the build definition.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
<ObsoleteAttribute("This method has been deprecated. Please remove all references.",  _
    True)> _
Function CreateProjectFile As IProjectFile
[ObsoleteAttribute("This method has been deprecated. Please remove all references.", 
    true)]
IProjectFile CreateProjectFile()
[ObsoleteAttribute(L"This method has been deprecated. Please remove all references.", 
    true)]
IProjectFile^ CreateProjectFile()
[<ObsoleteAttribute("This method has been deprecated. Please remove all references.", 
    true)>]
abstract CreateProjectFile : unit -> IProjectFile 
function CreateProjectFile() : IProjectFile

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IProjectFile
An IProjectFile object that can be used to generate a Team Foundation Build project file (TfsBuild.proj).

.NET Framework Security

See Also

Reference

IBuildDefinition Interface

Microsoft.TeamFoundation.Build.Client Namespace