mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    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(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.

    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
    • Methods
      • BuildPlayer(UwpBuildInfo, CancellationToken)
      • BuildPlayer(UwpBuildInfo, CancellationToken)
      • BuildPlayer(String, Boolean, CancellationToken)
      • BuildPlayer(String, Boolean, CancellationToken)
    Back to top Generated by DocFX