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 UwpPlayerBuildTools

    Class containing various utility methods to build a WSA solution from a Unity project.

    Inheritance
    Object
    UwpPlayerBuildTools
    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 UwpPlayerBuildTools

    Methods

    BuildPlayer(UwpBuildInfo, CancellationToken)

    Build the Uwp Player.

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

    BuildPlayer(String, Boolean, CancellationToken)

    Do a build configured for UWP Applications to the specified path, returns the error from BuildPlayer(UwpBuildInfo, CancellationToken)

    Declaration
    public static Task<bool> BuildPlayer(string buildDirectory, bool showDialog = true, CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    String buildDirectory
    Boolean showDialog

    Should the user be prompted to build the appx as well?

    CancellationToken cancellationToken
    Returns
    Type Description
    Task<Boolean>

    True, if build was successful.

    In This Article
    Back to top Generated by DocFX