|
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | 4 | <OutputType>WinExe</OutputType> |
5 | | - <TargetFramework>net9.0-windows10.0.17763.0</TargetFramework> |
6 | | - <TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion> |
7 | | - <SupportedOSPlatformVersion>10.0.17763.0</SupportedOSPlatformVersion> |
8 | | - <IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract> |
| 5 | + <TargetFramework>net9.0-windows10.0.22000.0</TargetFramework> |
| 6 | + <TargetPlatformMinVersion>10.0.22000.0</TargetPlatformMinVersion> |
| 7 | + <SupportedOSPlatformVersion>10.0.22000.0</SupportedOSPlatformVersion> |
9 | 8 | <UseWindowsForms>true</UseWindowsForms> |
10 | 9 | <Nullable>enable</Nullable> |
11 | 10 | <ImplicitUsings>enable</ImplicitUsings> |
| 11 | + <ApplicationIcon>C06SYqz8FU.ico</ApplicationIcon> |
| 12 | + |
| 13 | + <!-- Self-contained deployment targeting Windows 11 (22000) --> |
12 | 14 | <PublishSingleFile>true</PublishSingleFile> |
13 | | - <SelfContained>false</SelfContained> |
| 15 | + <SelfContained>true</SelfContained> |
14 | 16 | <RuntimeIdentifier>win-x64</RuntimeIdentifier> |
15 | | - <ApplicationIcon>C06SYqz8FU.ico</ApplicationIcon> |
| 17 | + <EnableCompressionInSingleFile>true</EnableCompressionInSingleFile> |
| 18 | + |
| 19 | + <!-- Optimize for Windows 11 --> |
| 20 | + <PublishReadyToRun>true</PublishReadyToRun> |
| 21 | + <PublishReadyToRunShowWarnings>true</PublishReadyToRunShowWarnings> |
| 22 | + |
| 23 | + <!-- Size optimizations without trimming --> |
| 24 | + <DebuggerSupport>false</DebuggerSupport> |
| 25 | + <EnableUnsafeUTF7Encoding>false</EnableUnsafeUTF7Encoding> |
| 26 | + <HttpActivityPropagationSupport>false</HttpActivityPropagationSupport> |
| 27 | + <MetadataUpdaterSupport>false</MetadataUpdaterSupport> |
16 | 28 | </PropertyGroup> |
17 | 29 |
|
18 | 30 | <ItemGroup> |
|
0 commit comments