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.

    Show / Hide Table of Contents

    Class UwpAppxBuildTools

    Inheritance
    Object
    UwpAppxBuildTools
    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.Build.Editor
    Assembly: cs.temp.dll.dll
    Syntax
    public static class UwpAppxBuildTools

    Properties

    IsBuilding

    Query the build process to see if we're already building.

    Declaration
    public static bool IsBuilding { get; }
    Property Value
    Type Description
    Boolean

    Methods

    AddGazeInputCapability(IBuildInfo)

    An overload of AddGazeInputCapability that will read the AppX manifest from the build output and update the manifest file with the gazeInput capability.

    Declaration
    public static void AddGazeInputCapability(IBuildInfo buildInfo)
    Parameters
    Type Name Description
    IBuildInfo buildInfo

    An IBuildInfo containing a valid OutputDirectory

    AddGazeInputCapability(XElement)

    Adds the 'Gaze Input' capability to the manifest.

    Declaration
    public static void AddGazeInputCapability(XElement rootNode)
    Parameters
    Type Name Description
    XElement rootNode
    Remarks

    This is a workaround for versions of Unity which don't have native support for the 'Gaze Input' capability in its Player Settings preference location. Note that this function is only public to poke a hole for testing - do not take a dependency on this function.

    BuildAppxAsync(UwpBuildInfo, CancellationToken)

    Build the UWP appx bundle for this project. Requires that BuildPlayer(String, Boolean, CancellationToken) has already be run or a user has previously built the Unity Player with the WSA Player as the Build Target.

    Declaration
    public static Task<bool> BuildAppxAsync(UwpBuildInfo buildInfo, CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    UwpBuildInfo buildInfo
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<Boolean>

    True, if the appx build was successful.

    Back to top Generated by DocFX