Skip to content

Commit b40789d

Browse files
CLI: publish trimmed and single binary
1 parent bf8936c commit b40789d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Certify.CLI/Certify.CLI.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net9.0;</TargetFrameworks>
44
<Configurations>Debug;Release;</Configurations>
55
<AssemblyName>Certify</AssemblyName>
66
<OutputType>Exe</OutputType>
77
<Platforms>AnyCPU</Platforms>
88
<LangVersion>latest</LangVersion>
9+
<PublishSingleFile>true</PublishSingleFile>
10+
<PublishTrimmed>true</PublishTrimmed>
11+
<SelfContained>true</SelfContained>
12+
913
</PropertyGroup>
1014
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug' ">
1115

0 commit comments

Comments
 (0)