How to specify StyleInclude in desktop but not mobile/web #306
Unanswered
mysteryx93
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As of FluentAvalonia v2, TaskDialogs (desktop only) requires a reference to
FluentAvalonia.UI.Windowing
in the .Desktop project, and this line inApp.axaml
TODO: Clarify how to include that line only for desktop and exclude for mobile/web.
App.axaml
is defined in the shared project in the default cross-platform template.What's the best way to include StyleInclude only for the Desktop project? Otherwise it causes WebAssembly project to crash.
Beta Was this translation helpful? Give feedback.
All reactions