Table of Contents

Resolve Method

Definition

Resolve(Assembly)

Resolves the target framework moniker of the specified assembly.

public static string Resolve(Assembly assembly)

Parameters

assembly Assembly

The Assembly to inspect for a TargetFrameworkAttribute.

Returns

string

The resolved target framework moniker of the specified assembly, or null if no supported moniker could be resolved.

Exceptions

ArgumentNullException

assembly is null.