dotnet / try-convert

Helping .NET developers port their projects to .NET Core!
MIT License
1.15k stars 153 forks source link

Conversion to net6.0: The target platform must be set to Windows (usually by including '-windows' in the TargetFramework property) when using Windows Forms or WPF #435

Open Alexilia opened 2 years ago

Alexilia commented 2 years ago

Now after conversion to net6.0 a project contains

net6.0

but it should be

net6.0-windows