Yet another "ResourceMap Not Found. (0x80073B1F)"
See original GitHub issueDescribe the bug
A WinUI 3 in Desktop app with the same package name as a previous UWP app crashes at startup.
Steps to reproduce the bug
- Create a Blank App, Packaged with Windows Application Packaging Project (WinUI 3 in Desktop) project.
- Add a
NavigationView
toMainWindow
. - Start Debugging with Visual Studio. The app is up and running.
- Open Package.appxmanifest and change the package name to be the same as a previously developed UWP app.
- Start Debugging with Visual Studio. The app crashes.
<Window
x:Class="Test.WinUI.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Test.WinUI"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<NavigationView />
</Window>
> KernelBase.dll!00007fff8f29466c() Unknown
Microsoft.Windows.ApplicationModel.Resources.dll!00007fff4239d4d4() Unknown
Microsoft.Windows.ApplicationModel.Resources.dll!00007fff42396b7f() Unknown
Microsoft.Windows.ApplicationModel.Resources.dll!00007fff42399c1c() Unknown
Microsoft.UI.Xaml.Controls.dll!00007ffeefea380e() Unknown
Microsoft.UI.Xaml.Controls.dll!00007ffeefea379d() Unknown
Microsoft.UI.Xaml.Controls.dll!00007ffeefe79326() Unknown
Microsoft.UI.Xaml.Controls.dll!00007ffeefe7798b() Unknown
Microsoft.UI.Xaml.Controls.dll!00007ffeefe795d1() Unknown
Microsoft.UI.Xaml.Controls.dll!00007ffeefeb60a8() Unknown
Microsoft.ui.xaml.dll!00007ffef43ffac1() Unknown
Microsoft.ui.xaml.dll!00007ffef43ffb84() Unknown
Microsoft.ui.xaml.dll!00007ffef43eaa20() Unknown
Microsoft.ui.xaml.dll!00007ffef43eab63() Unknown
Microsoft.ui.xaml.dll!00007ffef43957f3() Unknown
Microsoft.ui.xaml.dll!00007ffef43cbf80() Unknown
Microsoft.ui.xaml.dll!00007ffef4582e2b() Unknown
Microsoft.ui.xaml.dll!00007ffef43eac95() Unknown
Microsoft.ui.xaml.dll!00007ffef43957f3() Unknown
Microsoft.ui.xaml.dll!00007ffef43cbf80() Unknown
Microsoft.ui.xaml.dll!00007ffef43ea041() Unknown
Microsoft.ui.xaml.dll!00007ffef43eac95() Unknown
Microsoft.ui.xaml.dll!00007ffef43957f3() Unknown
Microsoft.ui.xaml.dll!00007ffef43cbf80() Unknown
Microsoft.ui.xaml.dll!00007ffef44207d9() Unknown
Microsoft.ui.xaml.dll!00007ffef445be8e() Unknown
Microsoft.ui.xaml.dll!00007ffef445c014() Unknown
Microsoft.ui.xaml.dll!00007ffef44159b7() Unknown
Microsoft.ui.xaml.dll!00007ffef43eaed6() Unknown
Microsoft.ui.xaml.dll!00007ffef43957f3() Unknown
Microsoft.ui.xaml.dll!00007ffef43cbf80() Unknown
Microsoft.ui.xaml.dll!00007ffef45340a3() Unknown
Microsoft.ui.xaml.dll!00007ffef43eac95() Unknown
Microsoft.ui.xaml.dll!00007ffef43957f3() Unknown
Microsoft.ui.xaml.dll!00007ffef43cbf80() Unknown
Microsoft.ui.xaml.dll!00007ffef44bbcd1() Unknown
Microsoft.ui.xaml.dll!00007ffef4404970() Unknown
Microsoft.ui.xaml.dll!00007ffef44159b7() Unknown
Microsoft.ui.xaml.dll!00007ffef43eaed6() Unknown
Microsoft.ui.xaml.dll!00007ffef43957f3() Unknown
Microsoft.ui.xaml.dll!00007ffef43cbf80() Unknown
Microsoft.ui.xaml.dll!00007ffef44bbcd1() Unknown
Microsoft.ui.xaml.dll!00007ffef44de370() Unknown
Microsoft.ui.xaml.dll!00007ffef44159b7() Unknown
Microsoft.ui.xaml.dll!00007ffef43eaed6() Unknown
Microsoft.ui.xaml.dll!00007ffef43957f3() Unknown
Microsoft.ui.xaml.dll!00007ffef43cbf80() Unknown
Microsoft.ui.xaml.dll!00007ffef453d474() Unknown
Microsoft.ui.xaml.dll!00007ffef43eac95() Unknown
Microsoft.ui.xaml.dll!00007ffef43957f3() Unknown
Microsoft.ui.xaml.dll!00007ffef43cbf80() Unknown
Microsoft.ui.xaml.dll!00007ffef453d3bf() Unknown
Microsoft.ui.xaml.dll!00007ffef43eac95() Unknown
Microsoft.ui.xaml.dll!00007ffef43957f3() Unknown
Microsoft.ui.xaml.dll!00007ffef43cbf80() Unknown
Microsoft.ui.xaml.dll!00007ffef45a8a97() Unknown
Microsoft.ui.xaml.dll!00007ffef43eac95() Unknown
Microsoft.ui.xaml.dll!00007ffef43957f3() Unknown
Microsoft.ui.xaml.dll!00007ffef43cbf80() Unknown
Microsoft.ui.xaml.dll!00007ffef43a7cfd() Unknown
Microsoft.ui.xaml.dll!00007ffef43a7225() Unknown
Microsoft.ui.xaml.dll!00007ffef43dfc4f() Unknown
Microsoft.ui.xaml.dll!00007ffef43dfa72() Unknown
Microsoft.ui.xaml.dll!00007ffef43df9ae() Unknown
Microsoft.ui.xaml.dll!00007ffef452c22b() Unknown
Microsoft.ui.xaml.dll!00007ffef452c153() Unknown
Microsoft.ui.xaml.dll!00007ffef43b76e2() Unknown
Microsoft.ui.xaml.dll!00007ffef451f1be() Unknown
Microsoft.ui.xaml.dll!00007ffef451f106() Unknown
CoreMessagingXP.dll!00007ffef3f58bd8() Unknown
CoreMessagingXP.dll!00007ffef3f58daa() Unknown
CoreMessagingXP.dll!00007ffef3f589ab() Unknown
CoreMessagingXP.dll!00007ffef3f33158() Unknown
CoreMessagingXP.dll!00007ffef3f3302b() Unknown
CoreMessagingXP.dll!00007ffef3f107f2() Unknown
CoreMessagingXP.dll!00007ffef3ee2e72() Unknown
CoreMessagingXP.dll!00007ffef3edbca2() Unknown
CoreMessagingXP.dll!00007ffef3ee3edb() Unknown
CoreMessagingXP.dll!00007ffef3f2faab() Unknown
CoreMessagingXP.dll!00007ffef3f2fb21() Unknown
CoreMessaging.dll!00007fff88de126c() Unknown
CoreMessaging.dll!00007fff88de11cb() Unknown
CoreMessaging.dll!00007fff88e0cf02() Unknown
CoreMessaging.dll!00007fff88dda5bd() Unknown
CoreMessaging.dll!00007fff88ddbc84() Unknown
CoreMessaging.dll!00007fff88ddb7ec() Unknown
CoreMessaging.dll!00007fff88dd7a0f() Unknown
user32.dll!00007fff90361c4c() Unknown
user32.dll!00007fff9036179c() Unknown
user32.dll!00007fff90374b4d() Unknown
ntdll.dll!00007fff91c872b4() Unknown
win32u.dll!00007fff8f7b1414() Unknown
user32.dll!00007fff9037464e() Unknown
Microsoft.ui.xaml.dll!00007ffef454ecd3() Unknown
Microsoft.ui.xaml.dll!00007ffef454ee62() Unknown
Microsoft.ui.xaml.dll!00007ffef454ebb3() Unknown
[External Code]
hostpolicy.dll!00007ffef81196bb() Unknown
hostpolicy.dll!00007ffef81199ec() Unknown
hostpolicy.dll!00007ffef811a387() Unknown
hostfxr.dll!00007fff3d88b539() Unknown
hostfxr.dll!00007fff3d88e506() Unknown
hostfxr.dll!00007fff3d890821() Unknown
hostfxr.dll!00007fff3d88eb62() Unknown
hostfxr.dll!00007fff3d8882ab() Unknown
Test.WinUI.exe!00007ff72e1e24b8() Unknown
Test.WinUI.exe!00007ff72e1e282b() Unknown
Test.WinUI.exe!00007ff72e1e3cd8() Unknown
kernel32.dll!00007fff90aa54e0() Unknown
ntdll.dll!00007fff91be485b() Unknown
Expected behavior
No response
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.0 (If you’re seeing your issue in older previews of WinUI 3, please try this release)
Windows app type
- UWP
- Win32
Device form factor
Desktop
Windows version
Windows 11
Additional context
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:13 (4 by maintainers)
Top Results From Across the Web
ResourceMap not found error when referencing a resource ...
It looks like you have to specify the name of the resource map when you create the ResourceLoader , like this:
Read more >UWP 'ResourceMap Not Found. exception only in Release ...
UWP "'ResourceMap Not Found. exception" occurs only in Release mode from Page's constructor while running "this.InitializeComponent();"
Read more >ResourceMap Not Found Exception message
'ResourceMap Not Found'. This indicates that a request for a particular resource has failed because it cannot find it.
Read more >ErrorCodes_Final
The data necessary to complete this operation is not yet available. 12, 0x8000000b, -2147483637, 2147483659, The operation attempted to access data outside the ......
Read more >Windows store - Ask the system questions
error 0x80073B1F: Cannot register the Microsoft. ... package because the following error was encountered: ResourceMap Not Found.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI - verified that WinAppSDK 1.1 fixed this issue for me
@DominicMaas From the description you provided, your issue looks like a duplicate of this one.