What is Microsoft.UI.Xaml.2.7 and How to Install it

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

  1. 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.)

  2. Click “Download package” on the right pane. This downloads the file “microsoft.ui.xaml.2.7.3.nupkg”.
  3. Rename microsoft.ui.xaml.2.7.3.nupkg to microsoft.ui.xaml.2.7.3.zip
  4. Extract the archive’s contents to a folder — e.g., D:\microsoft.ui.xaml.2.7.3.
  5. 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"
  6. 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)

  1. Visit https://store.rg-adguard.net/
  2. Select “Product ID” from the dropdown.
  3. Type 9P5VK8KZB5QZ in the text box.
  4. Select Retail from the dropdown.
  5. Click on the button with a tickmark. This generates the download links for x86 and x64.
  6. Download both (x86 and x64) packages by right-clicking on the .appx link and choosing “Save link as” in your browser.
  7. 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"
  8. 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!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded Winhelponline.com in 2005.

Leave a Comment