<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>WinExe</OutputType> <TargetFramework>net8.0-windows</TargetFramework> <Nullable>enable</Nullable> <ImplicitUsings>enable</ImplicitUsings> <UseWPF>true</UseWPF> <AllowUnsafeBlocks>true</AllowUnsafeBlocks> <LangVersion>13</LangVersion> <ApplicationIcon>Resources\Icon.ico</ApplicationIcon> </PropertyGroup> <ItemGroup> <PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2903.40"/> </ItemGroup> <ItemGroup> <FrameworkReference Include="Microsoft.WindowsDesktop.App.WindowsForms"/> </ItemGroup> <ItemGroup> <Resource Include="Resources\Icon.ico" /> </ItemGroup> </Project>