WPF csproj


<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>  
    <TargetFramework>net5.0-windows</TargetFramework>
    <Nullable>disable</Nullable>
    <UseWPF>true</UseWPF>
    <ApplicationIcon />
    <StartupObject />
    <EnforceCodeStyleInBuild>False</EnforceCodeStyleInBuild>

    <!--teras jusz otfjera konsole-->
    <DisableWinExeOutputInference>true</DisableWinExeOutputInference>   
  
</PropertyGroup>
</Project>