Share via

What is Microsoft.UI.Xaml.2.7 and why dont i have it?

Anonymous
2023-02-21T04:16:29+00:00

I was trying to install Microsoft store, but it couldn't be installed because I didn't have the framework Microsoft.UI.Xaml.2.7.

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: {}

NOTE: For additional information, look for [ActivityId] 0d81fcb0-45aa-0000-a511-820daa45d901 in the Event Log or use

the command line Get-AppPackageLog -ActivityID 0d81fcb0-45aa-0000-a511-820daa45d901

At line:1 char:53

  • ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    
    • CategoryInfo : WriteError: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], IOException
    • FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
Windows for home | Windows 10 | Install and upgrade

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2023-04-11T05:40:30+00:00

    I suspect there is no output from get-appxpackage Microsoft.UI.Xaml.2.7 -allusers as suggested by Ramesh, as there was for me. I had a similar problem with the Microsoft Store and other apps including Mail and Notepad not opening.

    I managed to install the missing framework as follows:

    1. Go to https://www.nuget.org/packages/Microsoft.UI.Xaml/2.7.3 and click the Download package link on the right-hand side. This downloads a file named microsoft.ui.xaml.2.7.3.nupkg.
    2. Replace the files .nupkg extension with a .zip extension.
    3. Right-click the file and select Extract All... and then Extract. This creates a folder named microsoft.ui.xaml.2.7.3.
    4. (You may want to reboot your machine before performing this step as it may fail if certain files are in use.) Open PowerShell as Admin and type Add-AppxPackage -Path "C:\path\to\microsoft.ui.xaml.2.7.3\tools\AppX\x64\Release\Microsoft.UI.Xaml.2.7.appx" replacing *\path\to* with the location of the microsoft.ui.xaml.2.7.3 folder and \x64 with the appropriate platform (I have 64-bit Windows 11).
    5. Press enter.
    6. In PowerShell type get-appxpackage Microsoft.UI.Xaml.2.7 -allusers which should now show details of the microsoft.ui.xaml.2.7 package.
    7. You should now be able to install/open the Microsoft Store app.

    Regards, Steve.

    90+ people found this answer helpful.
    0 comments No comments

7 additional answers

Sort by: Most helpful
  1. Anonymous
    2023-05-02T15:46:38+00:00

    This fixed the issue, but why on earth did I have the issue in the first place? This was a FRESH install of Windows 11. From first login, the Windows Store didn't work. ****?

    3 people found this answer helpful.
    0 comments No comments
  2. Ramesh 176.1K Reputation points Volunteer Moderator
    2023-02-21T04:25:07+00:00

    Please open PowerShell as administrator.

    Run the following command:

    get-appxpackage Microsoft.UI.Xaml.2.7 -allusers

    Post the output here.

    2 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-01-02T02:26:39+00:00

    my windows powershell and command prompt close the second or a few seconds after i open them even with administrator mode. how can i fix this

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2023-04-12T12:28:56+00:00

    I suspect there is no output from get-appxpackage Microsoft.UI.Xaml.2.7 -allusers as suggested by Ramesh, as there was for me. I had a similar problem with the Microsoft Store and other apps including Mail and Notepad not opening.

    I managed to install the missing framework as follows:

    1. Go to https://www.nuget.org/packages/Microsoft.UI.Xaml/2.7.3 and click the Download package link on the right-hand side. This downloads a file named microsoft.ui.xaml.2.7.3.nupkg.
    2. Replace the files .nupkg extension with a .zip extension.
    3. Right-click the file and select Extract All... and then Extract. This creates a folder named microsoft.ui.xaml.2.7.3.
    4. (You may want to reboot your machine before performing this step as it may fail if certain files are in use.) Open PowerShell as Admin and type Add-AppxPackage -Path "C:\path\to\microsoft.ui.xaml.2.7.3\tools\AppX\x64\Release\Microsoft.UI.Xaml.2.7.appx" replacing *\path\to* with the location of the microsoft.ui.xaml.2.7.3 folder and \x64 with the appropriate platform (I have 64-bit Windows 11).
    5. Press enter.
    6. In PowerShell type get-appxpackage Microsoft.UI.Xaml.2.7 -allusers which should now show details of the microsoft.ui.xaml.2.7 package.
    7. You should now be able to install/open the Microsoft Store app.

    Regards, Steve.

    I had the same problem, MS Store and Notepad wouldn't open, and this solution was the only one that worked perfectly!

    1 person found this answer helpful.
    0 comments No comments