Skip to content

Commit 1debb1d

Browse files
author
Damian Wolgast
committed
Added README.md to Sample-project
1 parent 654c8fc commit 1debb1d

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ Libary that can be used to properly terminate an application on Windows, Linux,
44

55
NuGet: <https://www.nuget.org/packages/TermiNet/>
66

7-
Library is work in progress :)
8-
97
## Why?
108

119
Today, .NET Core runs on Linux, FreeBSD, OSX, and Windows. There are big differences between *nix and Windows based operating systems on how error codes are interpreted.
@@ -99,4 +97,4 @@ public static void Run()
9997
// Application has exited before this line is executed
10098
Console.WriteLine("I should not run...");
10199
}
102-
```
100+
```

src/TermiNet.Sample/TermiNet.Sample.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,19 @@
33

44
<PropertyGroup>
55
<OutputType>Exe</OutputType>
6+
<PackageId>TermiNet.Sample</PackageId>
67
<TargetFrameworks>net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
78
<RootNamespace>TermiNet.Sample</RootNamespace>
9+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
810
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
11+
<PackageReadmeFile>README.md</PackageReadmeFile>
912
</PropertyGroup>
1013

1114
<ItemGroup>
1215
<ProjectReference Include="..\TermiNet\TermiNet.csproj" />
1316
</ItemGroup>
1417

18+
<ItemGroup>
19+
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
20+
</ItemGroup>
1521
</Project>

src/TermiNet/TermiNet.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
<TargetFrameworks>net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
77
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
88
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
9+
<PackageReadmeFile>README.md</PackageReadmeFile>
910
</PropertyGroup>
1011

12+
<ItemGroup>
13+
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
14+
</ItemGroup>
1115
</Project>

0 commit comments

Comments
 (0)