Class UwpPlayerBuildTools
Class containing various utility methods to build a WSA solution from a Unity project.
Inherited Members
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. |