Skip to content

Commit edeb5fd

Browse files
committed
Enhance self-extraction settings in project file
Updated `WindowsScreenLogger.csproj` to include new settings for publishing a self-contained application. Added options to include native libraries and all content files in the self-extracting single file.
1 parent 435538e commit edeb5fd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

WindowsScreenLogger/WindowsScreenLogger.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
1717
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
1818

19+
<!-- Include native libraries in single file for self-extraction -->
20+
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
21+
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
22+
1923
<!-- Optimize for Windows 11 -->
2024
<PublishReadyToRun>true</PublishReadyToRun>
2125
<PublishReadyToRunShowWarnings>true</PublishReadyToRunShowWarnings>

0 commit comments

Comments
 (0)