NDepend.API Documentation
GetMostRecentlyUsedVisualStudioSolutionOrProject Method
NDepend.DotNet.VisualStudio Namespace > IVisualStudioManager Interface : GetMostRecentlyUsedVisualStudioSolutionOrProject Method
The Visual Studio version.
Returns a read-only list of most recently used Visual Studio solutions or projects file paths, for the specified visualStudioVersion.
Syntax
IReadOnlyList<IAbsoluteFilePath> GetMostRecentlyUsedVisualStudioSolutionOrProject( 
   VisualStudioVersion visualStudioVersion
)

Parameters

visualStudioVersion
The Visual Studio version.
Remarks
This list is stored in the registry and is used by the Start Page of Visual Studio. Returns an empty collection if the specified Visual Studio version is not installed.
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