UwpPlayerBuildTools.BuildPlayer Method

Definition

Overloads

BuildPlayer(UwpBuildInfo, CancellationToken)

Build the UWP Player.

BuildPlayer(String, Boolean, CancellationToken)

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

BuildPlayer(UwpBuildInfo, CancellationToken)

Build the UWP Player.

public static System.Threading.Tasks.Task<bool> BuildPlayer (Microsoft.MixedReality.Toolkit.Build.Editor.UwpBuildInfo buildInfo, System.Threading.CancellationToken cancellationToken = default);
static member BuildPlayer : Microsoft.MixedReality.Toolkit.Build.Editor.UwpBuildInfo * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Shared Function BuildPlayer (buildInfo As UwpBuildInfo, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parameters

buildInfo
UwpBuildInfo
cancellationToken
CancellationToken

Returns

Task<Boolean>

Applies to

BuildPlayer(String, Boolean, CancellationToken)

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

public static System.Threading.Tasks.Task<bool> BuildPlayer (string buildDirectory, bool showDialog = true, System.Threading.CancellationToken cancellationToken = default);
static member BuildPlayer : string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Shared Function BuildPlayer (buildDirectory As String, Optional showDialog As Boolean = true, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parameters

buildDirectory
String
showDialog
Boolean

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

cancellationToken
CancellationToken

Returns

Task<Boolean>

True, if build was successful.

Applies to