Skip to content

Commit ada99c5

Browse files
committed
.NET 5.0 and self-contained single file
1 parent b3cf71d commit ada99c5

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

octoplot.csproj

+12-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,20 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
6-
<LangVersion>8.0</LangVersion>
5+
<TargetFramework>net5.0</TargetFramework>
6+
<!-- The OS and CPU type you are targeting -->
7+
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
8+
<!-- Determine self-contained or framework-dependent -->
9+
<SelfContained>true</SelfContained>
10+
<!-- Enable single file -->
11+
<PublishSingleFile>true</PublishSingleFile>
12+
<PublishTrimmed>true</PublishTrimmed>
13+
<TrimMode>Link</TrimMode>
14+
<PublishReadyToRun>False</PublishReadyToRun>
15+
<LangVersion>9.0</LangVersion>
716
<Nullable>enable</Nullable>
817
<AssemblyName>octoplot</AssemblyName>
9-
<Version>1.0.0</Version>
18+
<Version>1.0.1</Version>
1019
<Copyright>© James Singleton</Copyright>
1120
</PropertyGroup>
1221

0 commit comments

Comments
 (0)