Table of Contents

Method DetectTechnologyEnvironmentFromReferences

Namespace
Alternet.Editor.Roslyn
Assembly
Alternet.Editor.Roslyn.v10.dll

DetectTechnologyEnvironmentFromReferences(TargetFramework, string[])

Tries to detect to which environment given references belong.

public static TechnologyEnvironment DetectTechnologyEnvironmentFromReferences(TargetFramework targetFramework, string[] references)

Parameters

targetFramework TargetFramework

Specifies target framework.

references string[]

List of assembly references.

Returns

TechnologyEnvironment

Detected TechnologyEnvironment. TechnologyEnvironment.System by default.