There's a peculiar issue happening on a project I'm working on. Certain resources added to resource dictionaries of an UWP app are not recognized when the app is being run locally on a PC, but they are recognized when run on an Xbox.
When running the app on PC (Debug|x64) from Visual Studio, the following Exception pops up on startup:
Windows.UI.Xaml.Markup.XamlParseException
HResult=0x802B000A
Message=The text associated with this error code could not be found.
Cannot find a Resource with the Name/Key SimpleTextBox [Line: 45 Position: 41]
Source=<Cannot evaluate the exception source>
StackTrace:
<Cannot evaluate the exception stack trace>
This exception triggers on the InitializeComponent method of LoginView.xaml.cs.
The style is defined here and the ResourceDictionary
is included here.