UwpPlayerBuildTools.BuildPlayer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
True, if build was successful.