Skip to content

Commit 9c043f5

Browse files
committed
Include README and license in NuGet package
1 parent cf01b05 commit 9c043f5

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/Notify.NET/Notify.NET.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,15 @@
1010
<PackageId>Notify.NET</PackageId>
1111
<Version>1.0.0</Version>
1212
<Description>Cross-platform OS notification library for .NET Standard with WinToast (Windows), libnotify (Linux), and UNUserNotificationCenter (macOS) backends.</Description>
13+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
14+
<PackageReadmeFile>README.md</PackageReadmeFile>
1315
</PropertyGroup>
1416

17+
<!-- Pack the repo-root README into the package -->
18+
<ItemGroup>
19+
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
20+
</ItemGroup>
21+
1522
<ItemGroup>
1623
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="2.1.0" />
1724
<PackageReference Include="Microsoft.Extensions.Options" Version="2.1.0" />

0 commit comments

Comments
 (0)