Skip to content

Can't upgrade from 11.0.11 to 11.1.3 #17081

Answered by tkefauver
tkefauver asked this question in Q&A
Discussion options

You must be logged in to vote

Seems this exception was the root cause:
Unable to cast object of type 'System.String' to type 'Avalonia.Media.FontFamily

Get them anytime a window is closed which never happened before (<11.1.2) but doing this in a Closing handler prevents it:
window.FontFamily = FontFamily.Default;

Not sure what's going on under the hood but maybe a custom font bug during window disposal not sure though.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tkefauver
Comment options

@tkefauver
Comment options

Answer selected by tkefauver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants