Reputation: 59
I'm trying to install WindowsSubsytemAndroid and PowerShell tell me that I Need The Following:
"Microsoft.UI.Xaml.2.6" with minimum version 2.62108.18004.0.
I managed to install (Get-AppxPackage Show This Two):
Microsoft.UI.Xaml.2.6 2.62106.23002.0
Microsoft.UI.Xaml.2.7 7.2109.13004.0
But This Doesn't Solve The Problem. Any Idea ?
Upvotes: 4
Views: 45154
Reputation: 5812
There is a way to download and install just the appx package directly from Microsoft GitHub using PowerShell:
Invoke-WebRequest -Uri https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.x64.appx -OutFile $env:TEMP\Microsoft.UI.Xaml.2.8.x64.appx
Add-AppxPackage $env:TEMP\Microsoft.UI.Xaml.2.8.x64.appx
You can get different versions by changing the v2.8.6
above to a different version. Unfortunately, I'm not able to see which ones are available this way. Most recent version of this writing is there.
Upvotes: 4
Reputation: 62
The right way to install this dependency and related dependencies developed by Microsoft is to download it from their respective repositories at the Microsoft Github Organization.
In this case the realeses for the "Microsoft.UI.Xaml" framework are in the folowing link Microsoft-ui-xaml releases page, simply search for the required version and then you can download source code and built it.
Or you can use the referenced link for Microsoft UI xaml nuget package page. Then follow the steps:
Search for the needed version in the versions tab.
Download the raw nupkg file for the package.
Locate the downloaded file and change its extension to .zip.
Extract the Microsoft.UI.Xaml.X.X.appx file inside the microsoft.ui.xaml.X.X.X.zip\tools\AppX\x64\Release directory.
Open powershell, go to the appx file location and execute:
Add-AppxPackage -Path .\Microsoft.UI.Xaml.X.X.appx
This should solve your problem, remember to replace the X.X for your specific required version for the package. Also extract the appx for your specific system architecture.
Regards to jedieaston for his contribution.
Upvotes: 2
Reputation: 1
Once you navigate to the folder where the downloaded file exists (in powershell) run this command to install.
Add-AppxPackage Microsoft.UI.Xaml.2.7_7.2109.13004.0_x64__8wekyb3d8bbwe.Appx
Upvotes: 0
Reputation: 147
click this link https://store.rg-adguard.net/ URL: https://www.microsoft.com/store/productId/9P3395VX91NR Channel: Slow click the tick button, below you will get a set of files. select the files you want and install it via powershell
Upvotes: 6