microsoft / msix-packaging

MSIX SDK
MIT License
964 stars 163 forks source link

[BUG] Windows Sandbox Support #510

Closed TanayParikh closed 4 months ago

TanayParikh commented 2 years ago

Project MSIX SDK

Describe the bug

Wanted to confirm if MSIX installers are supported in the Windows Sandbox environment? We are trying to run a Blazor Hybrid / MAUI app in the Sandbox but get:

image

Related: https://github.com/dotnet/maui/issues/6393

florelis commented 2 years ago

You get that message because the App Installer package is not installed in the sandbox, but that is only the UI for installing with double-click. You can still install MSIX packages in the sandbox with the PowerShell cmdlet Add-AppPackage. You can also install the App Installer package (and its dependencies) with Add-AppPackage, and then you'd be able to install other .msix apps by double-clicking the files.