mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0releases/2.3.0releases/2.4.0releases/2.5.0releases/2.5.1releases/2.5.2releases/2.5.3

We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class AssemblyDefinition

    A class that represents a Unity assembly definition (asmdef) file.

    Inheritance
    Object
    AssemblyDefinition
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Utilities.Editor
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class AssemblyDefinition

    Constructors

    AssemblyDefinition()

    Creates a new, empty assembly definition.

    Declaration
    public AssemblyDefinition()

    Properties

    AllowUnsafeCode

    Please see Assembly Definition properties on the Unity documentation site.

    Declaration
    public bool AllowUnsafeCode { get; set; }
    Property Value
    Type Description
    Boolean

    AutoReferenced

    Please see Assembly Definition properties on the Unity documentation site.

    Declaration
    public bool AutoReferenced { get; set; }
    Property Value
    Type Description
    Boolean

    DefineConstraints

    Please see Assembly Definition properties on the Unity documentation site.

    Declaration
    public string[] DefineConstraints { get; set; }
    Property Value
    Type Description
    String[]

    ExcludePlatforms

    Please see Assembly Definition properties on the Unity documentation site.

    Declaration
    public string[] ExcludePlatforms { get; set; }
    Property Value
    Type Description
    String[]

    IncludePlatforms

    Please see Assembly Definition properties on the Unity documentation site.

    Declaration
    public string[] IncludePlatforms { get; set; }
    Property Value
    Type Description
    String[]

    Name

    Please see Assembly Definition properties on the Unity documentation site.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    String

    OptionalUnityReferences

    Please see Assembly Definition properties on the Unity documentation site.

    Declaration
    public string[] OptionalUnityReferences { get; set; }
    Property Value
    Type Description
    String[]

    OverrideReferences

    Please see Assembly Definition properties on the Unity documentation site.

    Declaration
    public bool OverrideReferences { get; set; }
    Property Value
    Type Description
    Boolean

    PrecompiledReferences

    Please see Assembly Definition properties on the Unity documentation site.

    Declaration
    public string[] PrecompiledReferences { get; set; }
    Property Value
    Type Description
    String[]

    References

    Please see Assembly Definition properties on the Unity documentation site.

    Declaration
    public string[] References { get; set; }
    Property Value
    Type Description
    String[]

    Methods

    AddReference(String)

    Adds a reference to an existing assembly definition. Make sure to call Save() after using this method to save the changes.

    Declaration
    public void AddReference(string referenceName)
    Parameters
    Type Name Description
    String referenceName

    The name of the reference to add to this assembly definition

    Load(String)

    Loads an existing assembly definition file.

    Declaration
    public static AssemblyDefinition Load(string fileName)
    Parameters
    Type Name Description
    String fileName

    The file to be loaded.

    Returns
    Type Description
    AssemblyDefinition

    The assembly definition that has been loaded, or null.

    Save(String)

    Saves an assembly definition file.

    Declaration
    public void Save(string fileName)
    Parameters
    Type Name Description
    String fileName

    The name by which to save the assembly definition file.

    Remarks

    If the specified file exists, it will be overwritten.

    In This Article
    • Constructors
      • AssemblyDefinition()
    • Properties
      • AllowUnsafeCode
      • AutoReferenced
      • DefineConstraints
      • ExcludePlatforms
      • IncludePlatforms
      • Name
      • OptionalUnityReferences
      • OverrideReferences
      • PrecompiledReferences
      • References
    • Methods
      • AddReference(String)
      • Load(String)
      • Save(String)
    Back to top Generated by DocFX