NDepend.API Documentation
GetDotNetProfileDirectories Method
NDepend.DotNet Namespace > IDotNetManager Interface : GetDotNetProfileDirectories Method
The .NET profile target.
The version demanded, only the version major and minor numbers are taken account.
Gets a sequence of directory paths containing assemblies of the dotNetProfile, specified version.
Syntax

Parameters

dotNetProfile
The .NET profile target.
version
The version demanded, only the version major and minor numbers are taken account.

Return Value

Directory paths containing assemblies of the dotNetProfile, specified version.
An empty sequence if version is not supported.
Some directories paths are returned even if version of dotNetProfile is not installed. In such case these directories doesn't exist.
Remarks
Only the version major and minor numbers are taken account.
Returns an empty set of directories if the version is not a valid version.
Requirements

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

See Also

Reference

IDotNetManager Interface
IDotNetManager Members