Microsoft.UI.Xaml.Phone.dll Error in Windows 11: An app window fails to open and names Windows App Runtime

If a Windows 11 app closes before showing its window and an error names Microsoft.UI.Xaml.Phone.dll, save the full path first. A path under that app’s installation and a path under Windows SystemApps lead to different support routes. Restart the app once from its normal shortcut and check whether the same error is recorded again.
Quick answer
For an isolated app failure, update or repair the app through its supported installer or Microsoft Store entry. If several Windows features fail and their current reports name the same protected Windows App Runtime location, check supported Windows servicing. If the report instead says a required package could not be installed, start with the package install log.
Verified file details
Microsoft includes this exact filename in the Windows 11 servicing file list for KB5136483. The official file table includes builds 3.1.4.0 and 3.1.6.0. The indexed x64 package records place the component under Windows App Runtime CBS and vNext CBS package folders in Windows\SystemApps on the matched Windows 11 release. The file describes a Microsoft user-interface component in those installed packages. These identifiers help match the report and can differ by branch and installed package.
1. Check the exact module and package path
- Press Windows + R, enter
eventvwr.msc, and press Enter. Open Windows Logs > Application. Compare the newest Application Error to the time the app closed. The Application Error walkthrough shows where to find the app name, module name and path. - Write down the full DLL name. If the filename starts
Windows.UIinstead ofMicrosoft.UI, use the separate Windows.UI.Xaml.Phone.dll guide. A report namingMicrosoft.UI.Xaml.dllfollows the main WinUI library troubleshooting path. - Read the full folder path before changing anything. A Windows-serviced CBS package and an app’s own install folder are different sources. Save the OS version from
winverand the app version displayed in its store or publisher entry. If an error lists only the filename, do the app and package checks before assuming which copy it refers to.
2. Restore an app that fails by itself
- If it came from Microsoft Store, open the Store and check for available updates from its updates or Library area. If the vendor or your organization supplied the app, use the approved distribution. Restart and launch the same app again.
- If the publisher supports Windows app repair, open Settings > Apps > Installed apps. Choose the menu next to the app and select Advanced options > Repair if it appears. Microsoft’s app repair steps cover the alternative for desktop installers. Confirm the publisher’s backup steps before using a reset that may clear app data.
Example. A single app starts closing after an update and the reported DLL path sits under its own installation. Other apps open normally. Update or repair that one app. Verify it opens its initial window, then repeat the same action using a disposable file or a blank screen.
3. Investigate a package install error separately
- If a setup message names a dependency, record the full text and package identity before repairing the app. For an MSIX install, Event Viewer’s Applications and Services Logs > Microsoft > Windows > AppXDeployment-Server > Operational shows deployment events. Follow Microsoft’s MSIX deployment troubleshooting steps to match the time and app name.
- Share the first dependency error with the publisher or administrator. Microsoft distinguishes apps that depend on a shared Windows App SDK framework and apps that carry their own dependencies. Use the version and architecture the publisher supports. Leave the installed Windows package folders in place.
4. Verify a Windows-wide repair
Example. Two separate Windows features fail on the same day and their current events point to the same SystemApps package. Install the current Windows updates offered to your edition and restart. If other current errors also identify Windows component trouble, ask an administrator to follow the Windows servicing and integrity walkthrough.
- Open the same affected windows after the repair and repeat each failing action. If only one still fails, record that app’s build and fresh event. If events now mention a different package, use its exact identity to direct the next check. Keep the successful tests with the incident so the next technician can focus on the remaining failure.
If the app opens but a specific window fails
- Open the app normally and note the first screen you can use. Create an empty local project or choose a documented sample. Open the same secondary window that caused the crash. If you can reach every other screen, include the name of the affected window and the input you used when you report it.
- Repeat the test after the publisher’s update using the same Windows account and display setup. If a work account has a different app version from the one you tested, give support both version numbers and the app’s distribution channel. Keep company data out of the test sample.
Example. The main window opens, but choosing an import dialog closes the app and records the DLL. A blank project shows the same behavior. Send the app vendor the window name, crash time, module path, and app version. When the vendor releases a repair, confirm both the import dialog and the original startup work. A successful launch alone would miss the secondary-window failure.