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

ManagedProjectBase.GetProductVersion Method 

[This is preliminary documentation and subject to change.]

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

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

Parameters

projectNode
XML fragment representing the project to check.

Return Value

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

Remarks

Missing <remarks> documentation for M:NAnt.VSNet.ManagedProjectBase.GetProductVersion(System.Xml.XmlNode)

Exceptions

Exception Type Condition
BuildException

The product version could not be determined.

-or-

The product version is not supported.

See Also

ManagedProjectBase Class | NAnt.VSNet Namespace