UwpAppxBuildTools.BuildAppxAsync(UwpBuildInfo, CancellationToken) Method
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.
Build the UWP appx bundle for this project. Requires that BuildPlayer(String, Boolean, CancellationToken) has already be run or a user has previously built the Unity Player with the WSA Player as the Build Target.
C#
public static System.Threading.Tasks.Task<bool> BuildAppxAsync (Microsoft.MixedReality.Toolkit.Build.Editor.UwpBuildInfo buildInfo, System.Threading.CancellationToken cancellationToken = default);
static member BuildAppxAsync : Microsoft.MixedReality.Toolkit.Build.Editor.UwpBuildInfo * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Shared Function BuildAppxAsync (buildInfo As UwpBuildInfo, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)
- buildInfo
- UwpBuildInfo
- cancellationToken
- CancellationToken
True, if the appx build was successful.
Proizvod | Verzije |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |