NDepend.API Documentation
ShowDialogSelectVisualStudioSolutionsOrProjects Method
NDepend.DotNet.VisualStudio Namespace > IVisualStudioManager Interface : ShowDialogSelectVisualStudioSolutionsOrProjects Method
The window handle of the parent window that shows the dialog.
Visual Studio solutions or projects file paths choosen.
Shows a dialog that lets the user select one or several Visual Studio solutions or projects files.
Syntax

Parameters

ownerWindowHandle
The window handle of the parent window that shows the dialog.
visualStudioSolutionsOrProjectsFilePaths
Visual Studio solutions or projects file paths choosen.

Return Value

True if the user clicked OK, False if the user clicked Cancel
Exceptions
ExceptionDescription
This operation needs the current thread to be a STA thread. To do so, just tag your Main() method with the [STAThread] attribute.
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
ShowDialogSelectAssemblies(IntPtr,ICollection<IAbsoluteFilePath>) Method
ShowDialogSelectAssemblies(IntPtr,ICollection<IAbsoluteFilePath>,ICollection<IAbsoluteFilePath>) Method
ShowDialogChooseAnExistingProject Method
ShowDialogBuildComparison Method