I have a side project that I wrote a few years ago in WinForms. To better help me learn WPF, I would like to rewrite it in WPF. Ideally, I would like to just modify the curr
Sailing Judo's answer worked for me to convert a WinForms project into a WPF, but did not describe in detail what is needed;
csproj file for the project you want to convert. - most likly it will not exist.Add the following within the tag of the project file. If you have multiple PropertyGroup tags, use the one without a Condition attribute (e.g. the default properties).
{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
Save - if you have the project open VS will ask to reload the project.
From what I see and test, I can now easily add WPF Windows and WinForms. My older WinForms also work without problems.