Table of Contents

Method GetReferences

Namespace
Alternet.Common.DotNet.DefaultAssemblies
Assembly
Alternet.Common.v10.dll

GetReferences(Framework, bool)

Retrieves a list of references related to the specified framework.

public static IReadOnlyList<string> GetReferences(Framework framework, bool needFullPaths)

Parameters

framework Framework

Framework type.

needFullPaths bool

Specifies if a fully qualified path is required.

Returns

IReadOnlyList<string>

Minimum required list of assembly names.

GetReferences(TechnologyEnvironment, bool, bool, TargetFramework?, bool, bool)

Retrieves a list of references for the specific environment and framework.

public static IReadOnlyList<string> GetReferences(TechnologyEnvironment technologyEnvironment, bool useRuntimeAssemblies, bool needFullPaths, TargetFramework? targetFramework = null, bool useDesignReferences = false, bool usePrivateLibs = true)

Parameters

technologyEnvironment TechnologyEnvironment

Given technology environment.

useRuntimeAssemblies bool

Specifies whether runtime assemblies should be also processed.

needFullPaths bool

Specifies if a fully qualified path is required.

targetFramework TargetFramework

Given Target Framework.

useDesignReferences bool

Specifies if the design-related references are needed.

usePrivateLibs bool

Returns

IReadOnlyList<string>

Minimum required list of assembly names.

GetReferences(string[], TechnologyEnvironment, bool, bool, bool)

Retrieves a list of references for the specific environment and framework.

public static IReadOnlyList<string> GetReferences(string[] references, TechnologyEnvironment technologyEnvironment, bool needFullPaths, bool useDesignReferences = false, bool usePrivateLibs = true)

Parameters

references string[]

List of all references.

technologyEnvironment TechnologyEnvironment

Given Technology Environment.

needFullPaths bool

Specifies if a fully qualified path is required.

useDesignReferences bool

Specifies if the design-related references are needed.

usePrivateLibs bool

Specifies if System.Private libraries are needed

Returns

IReadOnlyList<string>

Minimum required list of assembly names.