ToolLocationHelper.GetDisplayNameForTargetFrameworkDirectory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Figures out a display name given the target framework details. 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.
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
Public Shared Function GetDisplayNameForTargetFrameworkDirectory (targetFrameworkDirectory As String, frameworkName As FrameworkName) As 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.