Skip to content

Commit f9bfd14

Browse files
committed
Fix: DPI scaling
1 parent d2c4887 commit f9bfd14

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Source/NETworkManager/NETworkManager.csproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
23
<PropertyGroup>
34
<OutputType>WinExe</OutputType>
45
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
@@ -8,15 +9,16 @@
89
<!-- Publish a single file can't be used when accessing assembly file path
910
<PublishSingleFile>true</PublishSingleFile>
1011
<PublishReadyToRun>true</PublishReadyToRun>
11-
-->
12+
-->
1213
<CsWinRTWindowsMetadata>sdk</CsWinRTWindowsMetadata>
1314
<RootNamespace>NETworkManager</RootNamespace>
1415
<AssemblyName>NETworkManager</AssemblyName>
1516
<UseWPF>true</UseWPF>
16-
<UseWindowsForms>true</UseWindowsForms>
17+
<UseWindowsForms>true</UseWindowsForms>
1718
<StartupObject>NETworkManager.App</StartupObject>
18-
<ApplicationIcon>NETworkManager.ico</ApplicationIcon>
19-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
19+
<ApplicationManifest>app.manifest</ApplicationManifest>
20+
<ApplicationIcon>NETworkManager.ico</ApplicationIcon>
21+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
2022
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
2123
<Authors>BornToBeRoot</Authors>
2224
<PackageProjectUrl>https://github.com/BornToBeRoot/NETworkManager</PackageProjectUrl>

0 commit comments

Comments
 (0)