Skip to content
Discussion options

You must be logged in to vote

Okay, so after more investigation, it seems that this is an issue on Windows when you are trying to add a ResourceDictionary containing a SINGLE style within the ResourceDictionary. So, if you were to just add some bogus dummy second Style to that TextBox.xaml, everything should work fine.

@jeromelaban
Repro app here (notice the crash when trying to run the Windows head, simply uncomment the MySecondButtonStyle definition in Button.xaml and the app will no longer crash

UnoApp21.zip

I'm assuming maybe Windows is trying to do some fancy inlining optimization if you are trying to include a ResourceDictionary that only contains one resource definition??

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@jeanplevesque
Comment options

@jeanplevesque
Comment options

@kazo0
Comment options

@kazo0
Comment options

Answer selected by jeanplevesque
@jeanplevesque
Comment options

@kazo0
Comment options

@jeromelaban
Comment options

@Lee31416
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area/uno-material Categorizes an issue or PR as relevant to Uno.Material library
4 participants