Skip to content

Commit 1c86286

Browse files
#2178 Set Package readme (#2180)
1 parent 122a2b0 commit 1c86286

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1717
<NoWarn>$(NoWarn);1591</NoWarn>
1818
<LangVersion>11</LangVersion>
19+
<PackageReadmeFile>README.md</PackageReadmeFile>
1920
</PropertyGroup>
2021

2122
<ItemGroup>

src/RestSharp/RestSharp.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
44
</PropertyGroup>
@@ -54,4 +54,7 @@
5454
<ItemGroup>
5555
<ProjectReference Include="$(RepoRoot)\gen\SourceGenerator\SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
5656
</ItemGroup>
57+
<ItemGroup>
58+
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
59+
</ItemGroup>
5760
</Project>

0 commit comments

Comments
 (0)