update<project>: force using "framework-dependent single-file app" mode

This commit is contained in:
leo 2020-11-17 20:23:15 +08:00
parent 24ce527803
commit ff4427f49f

View file

@ -2,6 +2,8 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>net5.0-windows</TargetFramework> <TargetFramework>net5.0-windows</TargetFramework>
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<SelfContained>false</SelfContained>
<PublishSingleFile>true</PublishSingleFile>
<UseWPF>true</UseWPF> <UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms> <UseWindowsForms>true</UseWindowsForms>
<ApplicationIcon>App.ico</ApplicationIcon> <ApplicationIcon>App.ico</ApplicationIcon>