Skip to content

Commit 25f178c

Browse files
committed
fix: Added PackageReadmeFile and PackageLicenseFile to NuGet package
1 parent 3ab04b2 commit 25f178c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/LocalPortFiltering.AspNetCore/LocalPortFiltering.AspNetCore.csproj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,20 @@
1717
<PackageProjectUrl>https://github.com/willysoft/LocalPortFiltering.AspNetCore</PackageProjectUrl>
1818
<RepositoryUrl>$(PackageProjectUrl)</RepositoryUrl>
1919
<RepositoryType>git</RepositoryType>
20-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
2120
<SignAssembly>true</SignAssembly>
2221
<AssemblyOriginatorKeyFile>opensource.snk</AssemblyOriginatorKeyFile>
2322
<IsPackable>true</IsPackable>
23+
<PackageReadmeFile>README.md</PackageReadmeFile>
24+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
2425
</PropertyGroup>
2526

2627
<ItemGroup>
2728
<FrameworkReference Include="Microsoft.AspNetCore.App" />
2829
</ItemGroup>
2930

31+
<ItemGroup>
32+
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
33+
<None Include="..\..\LICENSE" Pack="true" PackagePath=""/>
34+
</ItemGroup>
35+
3036
</Project>

0 commit comments

Comments
 (0)