AssemblyDefinitionInfo.Parse Method

Definition

Parses an asmdef file creating a new instance of AssemblyDefinitionInfo.

C#
public static Microsoft.MixedReality.Toolkit.MSBuild.AssemblyDefinitionInfo Parse (System.IO.FileInfo file, Microsoft.MixedReality.Toolkit.MSBuild.UnityProjectInfo unityProjectInfo, UnityEditor.Compilation.Assembly assembly, bool isBuiltInPackage = false);

Parameters

file
FileInfo

The file representing asmdef.

unityProjectInfo
UnityProjectInfo

Instance of UnityProjectInfo.

assembly
UnityEditor.Compilation.Assembly

The Unity assembly reference.

isBuiltInPackage
Boolean

True whether this asmdef lives in the editor installation folder.

Returns

Applies to

منتج الإصدارات
MRTK2 Unity 2018 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0