microsoft avatar

Winui Wpf Migration

This handles the mechanical work of converting WPF apps to WinUI 3, which is mostly namespace surgery and control swaps. It maps System.Windows to Microsoft.UI.Xaml, replaces DataGrid with ListView, swaps Dispatcher for DispatcherQueue, and converts MVVM code to CommunityToolkit.Mvvm. The imaging migration is the real minefield here since PresentationCore will silently corrupt your build, so it catches those references early. Use this when you're staring at a pile of WPF code that needs to run on modern Windows and you want the tedious namespace replacements done correctly. It follows a staged migration process instead of trying to rewrite everything at once, which is the only sane way to do this.

skills.sh installs
144
GitHub stars
503
last updated
Jun 3, 2026

Install

$ npx -y skills add microsoft/win-dev-skills --skill winui-wpf-migration --agent claude-code

Installs into .claude/skills of the current project.

Files

This handles the mechanical work of converting WPF apps to WinUI 3, which is mostly namespace surgery and control swaps. It maps System.Windows to Microsoft.UI.Xaml, replaces DataGrid with ListView, swaps Dispatcher for DispatcherQueue, and converts MVVM code to CommunityToolkit.Mvvm. The imaging migration is the real minefield here since PresentationCore will silently corrupt your build, so it catches those references early. Use this when you're staring at a pile of WPF code that needs to run on modern Windows and you want the tedious namespace replacements done correctly. It follows a staged migration process instead of trying to rewrite everything at once, which is the only sane way to do this.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/microsoft/win-dev-skills
Categories
DevOps & CI/CD, Marketing & SEO, .NET & C#
License
MIT
First seen
Jun 11, 2026

More from microsoft/win-dev-skills

All 9
1cin12211 avatarmongodb-expertcin12211/orca-qMongoDB document modeling, aggregation pipeline optimization, sharding strategies, replica set configuration, connection pool management, and indexing patterns.143skills.sh installs
2julianobarbosa avatarzabbixjulianobarbosa/claude-code-skillsZabbix monitoring system automation via API and Python. Use when: (1) Managing hosts, templates, items, triggers, or host groups, (2) Automating monitoring conf141skills.sh installs
3khazp avatarvibe-techdesignkhazp/vibe-coding-prompt-templateCreate a Technical Design Document for your MVP. Use when the user wants to plan architecture, choose tech stack, or says "plan technical design", "choose tech 140skills.sh installs
4rohitg00 avatarskill-optimizerrohitg00/pro-workflowSkillOpt-flavored offline training loop for any SKILL.md. Treats accumulated learn-rule corrections as training trajectories, proposes bounded patches via an op140skills.sh installs
5hoodini avatarcopilot-sdkhoodini/ai-agents-skillsBuild agentic applications with GitHub Copilot SDK. Use when embedding AI agents in apps, creating custom tools, implementing streaming responses, managing sess139skills.sh installs
6microsoft avatarwinui-session-reportmicrosoft/win-dev-skillsAnalyze the current or a recent agent session (GitHub Copilot CLI or Claude Code) and generate a diagnostic report. Use when asking for session feedback, debugg139skills.sh installs