NAnt SDK Documentation - v0.92

FrameworkInfo.VisualStudioVersion Property

Gets the Visual Studio version that corresponds with this framework.

[Visual Basic]
Public ReadOnly Property VisualStudioVersion As Version
[C#]
public System.Version VisualStudioVersion {get;}

Property Value

The Visual Studio version that corresponds with this framework.

Exceptions

Exception Type Condition
ArgumentException The framework is not valid.
BuildException There is no version of Visual Studio that corresponds with this framework.

See Also

FrameworkInfo Class | NAnt.Core Namespace