Documentation

Unity Engine

Download Unity

Unity Engine

GetSystemAssemblyDirectories(ApiCompatibilityLevel)

Gets the directories that contain the system references for an API compatibility level.
Read time 1 minuteLast updated 13 hours ago

Definition

Warning
Deprecated. GetSystemAssemblyDirectories is deprecated and will be removed in a future version. MSBuild projects resolve the .NET base class library from targeting packs: use the referencePaths of the projects returned by CompilationPipeline.GetProjects, which include the .NET reference assemblies each project compiles against.
public static string[] GetSystemAssemblyDirectories(ApiCompatibilityLevel apiCompatibilityLevel)

Parameters

apiCompatibilityLevel

The ApiCompatibilityLevel to get system reference directories for.

Returns

Type

Description

string[]Returns an array populated by absolute directory paths.