Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

CompilationPipeline.GetAssemblyDefinitionFilePathFromScriptPath

public static string GetAssemblyDefinitionFilePathFromScriptPath(string sourceFilePath);

Parameters

sourceFilePathSource (script) file path.

Returns

string File path of assembly definition file.

Description

Returns the assembly definition file path for a source (script) path. Returns null if there is no assembly definition file for the given script path.

Did you find this page useful? Please give it a rating: