Open carbonete opened 3 years ago
in visual studio you can build a package that includes the app installer, the certificate and all the needed dependencies, along with a powershell script that installs the certificate, dependencies and the app itself.
If you're just manually installing the appx/msix and the certificate, you won't have the dependencies installed. you need to do that.
right click the uwp project // Publish // Create app package
@MitchBomcanhao thanks for answering my question. I'm using MS UWP Wizard , and made exactly what you say in wizard project. You have another suggestion.
thanks
Description
I'm trying to deploy Xamarin Forms UWP app, package with PackageUWP to Windows Sandbox and they can't find dependencies.
Steps to Reproduce
Expected Behavior
Install app
Actual Behavior
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation. Windows cannot install package xxx because this package depends on a framework that could not be found. Provide the framework "Microsoft.UI.Xaml.2.4" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 2.42007.9001.0, along with this package to install. The frameworks with name "Microsoft.UI.Xaml.2.4" currently installed are: {} NOTE: For additional information, look for [ActivityId] 1bee7a23-c115-0004-9a10-ef1b15c1d701 in the Event Log or use the command line Get-AppPackageLog -ActivityID 1bee7a23-c115-0004-9a10-ef1b15c1d701
Basic Information
Environment