Migrating single-platform WinUI code to Uno
Uno Platform takes WinUI code and makes it run on almost any target platform. If you have an existing application or library that was written to target WinUI, you'll find guidance here for converting it to a cross-platform codebase, using WinUI to target Windows 10 and Uno Platform to target other platforms. Depending on the APIs your code uses, it may run with minimal modifications, or you may need to add platform-specific code to cover missing functionality.
The articles in this guide cover:
- Initial checklist
- Steps for migrating an application
- Steps for migrating a class library
- General guidance for converting WinUI-only code to Uno-compatible code
See also the guide to working with Control Class Libraries.