Skip to content

Commit 6eaa96e

Browse files
authored
Include README in NUPKG for display on nuget.org (#91)
1 parent fbb7138 commit 6eaa96e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Serilog.Sinks.OpenTelemetry/Serilog.Sinks.OpenTelemetry.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<RepositoryType>git</RepositoryType>
1414
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1515
<RootNamespace>Serilog</RootNamespace>
16+
<PackageReadmeFile>README.md</PackageReadmeFile>
1617
</PropertyGroup>
1718

1819
<PropertyGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
@@ -24,7 +25,8 @@
2425
</PropertyGroup>
2526

2627
<ItemGroup>
27-
<None Include="..\..\assets\serilog-sink-nuget.png" Pack="true" Visible="false" PackagePath="" />
28+
<None Include="../../assets/serilog-sink-nuget.png" Pack="true" Visible="false" PackagePath="/" />
29+
<None Include="../../README.md" Pack="true" Visible="false" PackagePath="/" />
2830
<PackageReference Include="Google.Protobuf" Version="3.21.11" />
2931
<PackageReference Include="Grpc.Net.Client" Version="2.50.0" />
3032
<PackageReference Include="Serilog" Version="2.12.0" />

0 commit comments

Comments
 (0)