NAnt SDK Documentation - v0.92

ManagedProjectBase.GetProjectLocation Method 

Returns the ProjectLocation of the specified project XML fragment.

[Visual Basic]
Protected Shared Function GetProjectLocation( _
   ByVal projectNode As XmlNode _
) As ProjectLocation
[C#]
protected static ProjectLocation GetProjectLocation(
   XmlNode projectNode
);

Parameters

projectNode
XML fragment representing the project to check.

Return Value

The ProjectLocation of the specified project XML fragment.

Exceptions

Exception Type Condition
BuildException

The project location could not be determined.

-or-

The project location is invalid.

See Also

ManagedProjectBase Class | NAnt.VSNet Namespace