Hacker News new | ask | show | jobs
by exceptione 579 days ago
So does that mean you do not use winui calls anymore, but like Avalonia share the same implementation of controls across Linux and Windows?

See the diagrams from here to see what I mean: https://www.codeproject.com/Articles/5366945/Multiplatform-X...

1 comments

Uno Platform is a cross platform implementation of the WinUI+WinRT APIs. That cross-platform implementation never used the official WinUI/WinAppSDK implementation on Windows.

When running on Windows, which this is where some confusion may lie, you can choose to use the Uno implementation (the netX.0-desktop TFM), or the original WinAppSDK by Microsoft (the netX.0-windows10.YYY TFM), since both implementations share the same API, making user code compatible with either ones.

On the other platforms, Wasm/Linux/iOS/Android/Catalyst/macOS, only the Uno implementation can be used.