Documentation

Unity Engine

Download Unity

Unity Engine

GetAssemblyDefinitionFilePathFromAssemblyName(string)

Returns the assembly definition file path from an assembly name. Returns null if there is no assembly definition file for the given assembly name.
Read time 1 minuteLast updated 17 hours ago

Definition

Warning
Deprecated. GetAssemblyDefinitionFilePathFromAssemblyName is deprecated and will be removed in a future version. Assembly definition files (.asmdef) are being replaced by MSBuild projects (.csproj). Use CompilationPipeline.GetProjects to look up a project by name.
public static string GetAssemblyDefinitionFilePathFromAssemblyName(string assemblyName)

Parameters

assemblyName

Assembly name.

Returns

Type

Description

stringFile path of assembly definition file.