Skip to content

Commit

Permalink
Add existing README.md files to NuGet packages
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsitnik committed Sep 15, 2023
1 parent 7060bdd commit e932fbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
<WarningsNotAsErrors>$(WarningsNotAsErrors);IDE0053;IDE0060</WarningsNotAsErrors>
</PropertyGroup>

<PropertyGroup Condition="!$(MSBuildProjectName.EndsWith('.Tests'))">
<PackageReadmeFile Condition="Exists('README.md')">README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup Condition="$(MSBuildProjectName) == 'HealthChecks.AzureServiceBus' OR $(MSBuildProjectName) == 'HealthChecks.AzureStorage' OR $(MSBuildProjectName) == 'HealthChecks.CosmosDb'">
<Compile Include="../ClientCache.cs" Link="ClientCache.cs" />
</ItemGroup>
Expand Down

0 comments on commit e932fbb

Please sign in to comment.