Microsoft.UI.Xaml.2.7 is a framework that provides Microsoft UI controls and features for Windows UWP apps. This package is required by other Store apps to work correctly. For example, the following store apps require Microsoft.UI.Xaml.2.7.
- Microsoft.WindowsStore
- Microsoft.StorePurchaseApp
- Microsoft.DesktopAppInstaller
- microsoft.windowscommunicationsapps
If Microsoft.UI.Xaml.2.7 is missing, Microsoft Store won’t launch. When you reinstall the Store app using PowerShell, the following error may occur:
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation. Windows cannot install package Microsoft.WindowsStore_22210.1401.13.0_x64__8wekyb3d8bbwe because this package depends on a framework that could not be found. Provide the framework "Microsoft.UI.Xaml.2.7" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 7.2109.13004.0, along with this package to install. The frameworks with name "Microsoft.UI.Xaml.2.7" currently installed are: {}
Resolution
To resolve the issue, download and install the Microsoft.UI.Xaml.2.7 Appx package. There are many methods to download the appx package.
Option 1: Download via nuget.org
- Open the following link → https://www.nuget.org/packages/Microsoft.UI.Xaml/2.7.3
(The nuget.org portal can be trusted. The Microsoft Learn documentation also suggests downloading the package from NuGet or its GitHub page. See WinUI 2.7 Release Notes for more information.)
- Click “Download package” on the right pane. This downloads the file “microsoft.ui.xaml.2.7.3.nupkg”.
- Rename
microsoft.ui.xaml.2.7.3.nupkg
tomicrosoft.ui.xaml.2.7.3.zip
- Extract the archive’s contents to a folder — e.g., D:\microsoft.ui.xaml.2.7.3.
- Open PowerShell as Admin and type the following commands:
Add-AppxPackage -Path "d:\microsoft.ui.xaml.2.7.3\tools\AppX\x64\Release\Microsoft.UI.Xaml.2.7.appx" Add-AppxPackage -Path "d:\microsoft.ui.xaml.2.7.3\tools\AppX\x86\Release\Microsoft.UI.Xaml.2.7.appx"
- To verify if the packages are installed correctly, type the following in admin PowerShell:
get-appxpackage Microsoft.UI.Xaml.2.7 -allusers
Option 2: Download Using WinGet
Open admin Command Prompt and run:
winget install 9P5VK8KZB5QZ
This should install the Microsoft.UI.Xaml.2.7 framework. 9P5VK8KZB5QZ is the SKU ID for Microsoft.UI.Xaml.2.7.
Option 3: Download from Microsoft via rg-adguard.net
You can download the Microsoft.UI.Xaml.2.7 appx package via https://store.rg-adguard.net/
(For more information, check out “Method 2” in the article Reinstall Microsoft Store)
- Visit https://store.rg-adguard.net/
- Select “Product ID” from the dropdown.
- Type
9P5VK8KZB5QZ
in the text box. - Select Retail from the dropdown.
- Click on the button with a tickmark. This generates the download links for x86 and x64.
- Download both (x86 and x64) packages by right-clicking on the .appx link and choosing “Save link as” in your browser.
- Open PowerShell as Admin and type the following command-line syntax:
Add-AppxPackage -Path "c:\Microsoft.UI.Xaml.2.7_7.2208.15002.0_x86__8wekyb3d8bbwe.appx"
Add-AppxPackage -Path "c:\Microsoft.UI.Xaml.2.7_7.2208.15002.0_x64__8wekyb3d8bbwe.appx"
- To verify if the packages are installed correctly, type the following in admin PowerShell:
get-appxpackage Microsoft.UI.Xaml.2.7 -allusers
You should now be able to install or open the Microsoft Store app and other apps that use the Microsoft.UI.Xaml.2.7 framework.
One small request: If you liked this post, please share this?
One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!