ToolLocationHelper.GetDisplayNameForTargetFrameworkDirectory(String, FrameworkName) Method

Definition

Creates a display name given the target framework details.

public:
 static System::String ^ GetDisplayNameForTargetFrameworkDirectory(System::String ^ targetFrameworkDirectory, System::Runtime::Versioning::FrameworkName ^ frameworkName);
public static string GetDisplayNameForTargetFrameworkDirectory (string targetFrameworkDirectory, System.Runtime.Versioning.FrameworkName frameworkName);
static member GetDisplayNameForTargetFrameworkDirectory : string * System.Runtime.Versioning.FrameworkName -> string

Parameters

targetFrameworkDirectory
String

The target framework directory.

frameworkName
FrameworkName

The framework name.

Returns

A display name given the target framework details.

Remarks

This is the equivalent of the target framework moniker, but for display.

If one cannot be found from the redist list file, a synthesized one is returned, so there is always a display name.

Applies to