Skip to content

Commit 8d1f58e

Browse files
committed
ver
1 parent 5d74ff2 commit 8d1f58e

File tree

2 files changed

+9
-14
lines changed

2 files changed

+9
-14
lines changed

.github/workflows/build-and-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
3939
- name: Build win-x86 framework-dependent (Single File)
4040
run: |
41-
dotnet publish Ntk.Tools.AutoType.csproj -c Release -r win-x86 --self-contained false -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=false -p:EnableCompressionInSingleFile=false -p:DebugType=none -p:DebugSymbols=false -o ./publish/win-x86-fd
41+
dotnet publish Ntk.Tools.AutoType.csproj -c Release -r win-x86 --self-contained false -p:PublishSingleFile=true -p:DebugType=none -p:DebugSymbols=false -o ./publish/win-x86-fd
4242
4343
- name: Build win-x64 framework-dependent (Single File)
4444
run: |
45-
dotnet publish Ntk.Tools.AutoType.csproj -c Release -r win-x64 --self-contained false -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=false -p:EnableCompressionInSingleFile=false -p:DebugType=none -p:DebugSymbols=false -o ./publish/win-x64-fd
45+
dotnet publish Ntk.Tools.AutoType.csproj -c Release -r win-x64 --self-contained false -p:PublishSingleFile=true -p:DebugType=none -p:DebugSymbols=false -o ./publish/win-x64-fd
4646
4747
- name: Create artifacts directory and prepare files
4848
shell: pwsh

Ntk.Tools.AutoType.csproj

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,25 @@
77
<Nullable>enable</Nullable>
88
<AssemblyName>Ntk.Tools.AutoType</AssemblyName>
99
<RootNamespace>Ntk.Tools.AutoType</RootNamespace>
10-
<Version>1.0.0</Version>
10+
<Version>1.1.0</Version>
1111
<Authors>NTK</Authors>
1212
<Company>NTK</Company>
1313
<Product>Ntk.Tools.AutoType</Product>
1414
<Description>برنامه تایپ خودکار</Description>
1515
<UseWindowsForms>true</UseWindowsForms>
1616
</PropertyGroup>
1717

18-
<!-- Single File Output Configuration for Release - Self-Contained -->
19-
<PropertyGroup Condition="'$(Configuration)'=='Release' AND '$(SelfContained)'=='true'">
18+
<!-- Single File Output Configuration for Release -->
19+
<PropertyGroup Condition="'$(Configuration)'=='Release'">
2020
<PublishSingleFile>true</PublishSingleFile>
21-
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
22-
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
23-
<PublishTrimmed>false</PublishTrimmed>
2421
<DebugType>none</DebugType>
2522
<DebugSymbols>false</DebugSymbols>
2623
</PropertyGroup>
2724

28-
<!-- Single File Output Configuration for Release - Framework-Dependent -->
29-
<PropertyGroup Condition="'$(Configuration)'=='Release' AND '$(SelfContained)'=='false'">
30-
<PublishSingleFile>true</PublishSingleFile>
31-
<PublishTrimmed>false</PublishTrimmed>
32-
<DebugType>none</DebugType>
33-
<DebugSymbols>false</DebugSymbols>
25+
<!-- Additional settings for Self-Contained only -->
26+
<PropertyGroup Condition="'$(Configuration)'=='Release' AND '$(SelfContained)'=='true'">
27+
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
28+
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
3429
</PropertyGroup>
3530

3631
</Project>

0 commit comments

Comments
 (0)