Christian Findlay
Christian Findlay

Reputation: 7692

The name 'AvaloniaXamlLoaderPortableXaml' does not exist in the current context

I just upgraded to the latest version of Avalonia.Desktop (0.7.0) and now I'm getting this compile error. It appears this method is now missing from Application. What are we supposed to call now to initialize the page?

Upvotes: 0

Views: 184

Answers (1)

kekekeks
kekekeks

Reputation: 3623

UseAvaloniaXamlLoader. AvaloniaXamlLoaderPortableXaml was a transitional name that was kept from the times when we were switching from OmniXAML to PortableXaml.

Upvotes: 1

Related Questions