NAnt SDK Documentation - v0.92

ProjectBase.DetermineProductVersion Method 

Returns the Visual Studio product version of the specified project XML fragment.

[Visual Basic]
MustOverride Protected Function DetermineProductVersion( _
   ByVal docElement As XmlElement _
) As ProductVersion
[C#]
protected abstract ProductVersion DetermineProductVersion(
   XmlElement docElement
);

Parameters

docElement
XML fragment representing the project file.

Return Value

The Visual Studio product version of the specified project XML file.

Exceptions

Exception Type Condition
BuildException

The product version could not be determined.

-or-

The product version is not supported.

See Also

ProjectBase Class | NAnt.VSNet Namespace