migrating-wpf-to-dotnetlisted
Install: claude install-skill christian289/dotnet-with-claudecode
# WPF .NET Framework → .NET Migration
## 1. Migration Checklist
### 1.1 Pre-Migration
- [ ] Verify .NET Framework version (4.6.1+ recommended)
- [ ] Check NuGet package .NET compatibility
- [ ] Verify third-party library .NET versions
- [ ] Check Windows Forms interop usage
- [ ] Check WCF client usage
- [ ] Check ClickOnce deployment usage
### 1.2 Migration
- [ ] Convert project file to SDK style
- [ ] NuGet packages.config → PackageReference
- [ ] Clean up AssemblyInfo.cs
- [ ] app.config → appsettings.json (optional)
- [ ] Build and fix errors
- [ ] Run tests
### 1.3 Post-Migration
- [ ] Test self-contained deployment
- [ ] Test single-file deployment
- [ ] Ready to Run (R2R) optimization
- [ ] Performance benchmark
---
## 2. Project File Conversion
### 2.1 Old Format (.NET Framework)
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{GUID}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>MyApp</RootNamespace>
<AssemblyName>MyApp</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<!-- ... hundreds of lines ... -->
</PropertyGroup>
<!-- ... -->
</Project>