NAnt SDK Documentation - v0.92

ProjectBase.VerifyProjectXml Method 

Verifies whether the specified XML fragment represents a valid project that is supported by this ProjectBase.

[Visual Basic]
MustOverride Protected Sub VerifyProjectXml( _
   ByVal docElement As XmlElement _
)
[C#]
protected abstract void VerifyProjectXml(
   XmlElement docElement
);

Parameters

docElement
XML fragment representing the project file.

Exceptions

Exception Type Condition
BuildException

The XML fragment is not supported by this ProjectBase.

-or-

The XML fragment does not represent a valid project (for this ProjectBase).

See Also

ProjectBase Class | NAnt.VSNet Namespace