Use this skill when migrating UWP apps to WinUI 3 / Windows App SDK, or when verifying that generated code uses correct WinUI 3 APIs instead of legacy UWP patterns.
| Windows.UI.Xaml | Microsoft.UI.Xaml | | Windows.UI.Xaml.Controls | Microsoft.UI.Xaml.Controls | | Windows.UI.Xaml.Media | Microsoft.UI.Xaml.Media | | Windows.UI.Xaml.Input | Microsoft.UI.Xaml.Input | | Windows.UI.Xaml.Data | Microsoft.UI.Xaml.Data | | Windows.UI.Xaml.Navigation | Microsoft.UI.Xaml.Navigation |
| Windows.UI.Xaml.Shapes | Microsoft.UI.Xaml.Shapes | | Windows.UI.Composition | Microsoft.UI.Composition | | Windows.UI.Input | Microsoft.UI.Input | | Windows.UI.Colors | Microsoft.UI.Colors | | Windows.UI.Text | Microsoft.UI.Text | | Windows.UI.Core | Microsoft.UI.Dispatching (for dispatcher) |
Référence de migration UWP vers WinUI 3. Mappe les anciennes API UWP pour corriger les équivalents du SDK d’application Windows avec des extraits de code avant/après. Couvre les modifications d'espace de noms, le threading (CoreDispatcher à DispatcherQueue), le fenêtrage (CoreWindow à AppWindow), les boîtes de dialogue, les sélecteurs, le partage, l'impression, les tâches en arrière-plan et les erreurs de génération de code Copilot les plus courantes. Source : github/awesome-copilot.