NAnt SDK Documentation - v0.92 |

# VBProject.DetermineProjectLocation Method

Returns the project location from the specified project XML fragment.

[Visual Basic]
Overrides Protected Function DetermineProjectLocation( _
ByVal docElement As XmlElement _
) As ProjectLocation
[C#]
protected override ProjectLocation DetermineProjectLocation(
XmlElement docElement
);

#### Parameters

docElement
  XML fragment representing the project file.

#### Return Value

The project location of the specified project XML file.

#### Exceptions

Exception Type | Condition
--- | ---
BuildException | The project location could not be determined. -or- The project location is invalid.

#### See Also

VBProject Class | NAnt.VSNet Namespace