Skip to content

Commit c51dd37

Browse files
committed
Adds a README file to the NuGet package
Includes the README.md file in the generated NuGet package. This allows users browsing the package to view the project's README directly from the package details page.
1 parent 3aecf6d commit c51dd37

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

build/common.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2121
<PackageOutputPath>$(SolutionDir)artifacts</PackageOutputPath>
2222
<PackageIcon>exceptionless-icon.png</PackageIcon>
23+
<PackageReadmeFile>README.md</PackageReadmeFile>
2324
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
2425
<RepositoryUrl>$(PackageProjectUrl)</RepositoryUrl>
2526
<PublishRepositoryUrl>true</PublishRepositoryUrl>
@@ -40,6 +41,7 @@
4041

4142
<ItemGroup>
4243
<None Include="../../build/exceptionless-icon.png" Pack="true" PackagePath="$(PackageIcon)" />
44+
<None Include="../../README.md" Pack="true" PackagePath="$(PackageReadmeFile)" />
4345
</ItemGroup>
4446

4547
</Project>

0 commit comments

Comments
 (0)