I have Xamarin Application. I can build ipa, APK and UWP(.appx) package. ipa and APK is working fine. I am facing issue while installing UWP.
Issue with UWP: It is
The reason why you are asked to install the dependencies is that your UWP app have a dependency requirement for them but your current Device OS doesn't install these dependencies. If you install your app from the Microsoft Store, the Store will check your app requirments and automatically install the dependencies that your app need but are not installed.
For your issue, you are sideloading your UWP app, since there is no a process as Store to install the dependencies that your app need but are not installed in current device, so you will need to install the dependency manully.
Generally, you can find the dependencies in the Dependencies folder from the corresponding version package's folder (same file path as your appx file). You should install the corresponding dependencies base on your device and the your UWP App appx platform.
--- Update ---
If you want to install the app using PowerShell, you still need to install the dependencies. You can use the Add-AppxPackage
cmdlet to add a signed app package to a user account and use the DependencyPath
parameter to add all other packages that are required for the installation of the app package. See the topic Add-AppxPackage and the Example 1: Add an app package to install the app and dependencies.
PS C:\> Add-AppxPackage -Path "C:\Users\user1\Desktop\MyApp.appx" -DependencyPath "C:\Users\user1\Desktop\Microsoft.NET.CoreRuntime.2.1.appx"