Table of Contents

ResolveFromPath Method

Definition

ResolveFromPath(string)

Resolves the nearest target framework moniker found in the specified path.

public static string ResolveFromPath(string path)

Parameters

path string

The path whose directory hierarchy should be inspected for a target-framework-like folder name.

Returns

string

The nearest resolved target framework moniker found in the specified path, or null if no supported moniker could be resolved.