NAnt SDK Documentation - v0.92

JSharpProject.DetermineProductVersion Method 

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

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

Parameters

docElement
The document element of the project.

Return Value

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

Exceptions

Exception Type Condition
BuildException

The product version could not be determined.

-or-

The product version is not supported.

See Also

JSharpProject Class | NAnt.VSNet Namespace