NAnt SDK Documentation - v0.85-nightly-2005-11-09

ProjectBase.DetermineProductVersion Method 

[This is preliminary documentation and subject to change.]

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.

Remarks

Missing <remarks> documentation for M:NAnt.VSNet.ProjectBase.DetermineProductVersion(System.Xml.XmlElement)

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