<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>WinExe</OutputType> <TargetFramework>net6.0-windows</TargetFramework> <Nullable>enable</Nullable> <UseWindowsForms>true</UseWindowsForms> <UseWPF>true</UseWPF> <ImplicitUsings>enable</ImplicitUsings> </PropertyGroup> </Project>