NDepend.API Documentation
IsVisualStudioVersionInstalled Method
NDepend.DotNet.VisualStudio Namespace > IVisualStudioManager Interface : IsVisualStudioVersionInstalled Method
The Visual Studio version.
Returns true if the specified Visual Studio version is installed on the current machine.
Syntax
bool IsVisualStudioVersionInstalled( 
   VisualStudioVersion visualStudioVersion
)

Parameters

visualStudioVersion
The Visual Studio version.
Remarks
This method can only be invoked within a .NET Framework 4.x and Windows OS context else it throws a NotSupportedException.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

IVisualStudioManager Interface
IVisualStudioManager Members