question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

XamlParseException on RS4 & RS5

See original GitHub issue

Describe the bug App crashes on some users machines, crash reports coming from AppCenter:

One device running 10.0.17134 Windows.UI.Xaml.Markup.XamlParseException: The text associated with this error code could not be found. Cannot locate resource from 'ms-appx://Microsoft.UI.Xaml.2.4/Microsoft.UI.Xaml/Themes/rs4_themeresources.xaml [Line: 0 Position: 0]

Another one running 10.0.1776: Windows.UI.Xaml.Markup.XamlParseException: The text associated with this error code could not be found. Cannot locate resource from 'ms-appx://Microsoft.UI.Xaml.2.4/Microsoft.UI.Xaml/Themes/rs5_themeresources.xaml'. [Line: 0 Position: 0]

I am only using <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" /> in my App.xml and muxc:NavigationView from the WinUI library

NuGet package version: Microsoft.UI.Xaml 2.4.0

Windows 10 version Saw the problem?
Insider Build (xxxxx) No
November 2019 Update (18363) No
May 2019 Update (18362) No
October 2018 Update (17763) Yes
April 2018 Update (17134) Yes
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Mobile
Xbox
Surface Hub
IoT

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:20 (19 by maintainers)

github_iconTop GitHub Comments

1reaction
kmahonecommented, Jun 19, 2020

I’ve filed a separate issue for the ‘CalendarDatePickerTopHeaderMargin’ issue: #2719 RS4 and lower: Cannot find a Resource with the Name/Key CalendarDatePickerTopHeaderMargin

Fixing this in WinUI should be pretty straight forward.

If you want to work-around this issue in your app until we have a release out containing the fix, it should be easy. Just add this Xaml to your App.xaml: <Thickness x:Key="CalendarDatePickerTopHeaderMargin">0,0,0,4</Thickness>

The cause of the other issues is still unclear.

In AppCenter, do you have the ability to see the full call stack of the crash? Or do you just see the error message? (I’ve personally never used AppCenter).

0reactions
tipacommented, Jul 13, 2023
Read more comments on GitHub >

github_iconTop Results From Across the Web

I am wondering the difference between rs5 and rs4
I'm guessing you are asking about the MS development labels. They are code words MS uses to generate confusion. RS4 is pretty much...
Read more >
Competition Package Intercooler / Radiator : Audi RS4 B9 ...
The competition package for the Audi RS4 B9 consists the Intercooler Upgrade Kit and the Radiator Upgrade Kit Audi RS4 B9 331KW/450PS from...
Read more >
Performance Intercooler Kit : Audi RS4 B9 RS5 F5
Experience outstanding cooling performance and maximum performance at every race!
Read more >
APR ECU Stage Software Tune For Audi B9 RS4/RS5
APR ECU Stage Software Tune For Audi B9 RS4/RS5. Graphing, Ecu, Tune. Get more power from your new 2023 Acura Powermetric Stage tune...
Read more >
Next Audi RS4, RS5 Coupe Move to V-6 Electric Turbo ...
The next Audi RS4 Avant and RS5 Coupe will use a 3.0-liter V-6 with electric turbocharging to make around 480 hp.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found