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
声明
<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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.