Table of Contents

ResolveCurrent Method

Definition

ResolveCurrent()

Resolves the target framework moniker of the current application context.

public static string ResolveCurrent()

Returns

string

The resolved target framework moniker of the current application context, or null if no supported moniker could be resolved.

Remarks

Resolution first inspects the entry assembly for a TargetFrameworkAttribute. If no supported framework name is found, the directory hierarchy rooted at BaseDirectory is inspected for a target-framework-like folder name.