Skip to content

Commit bb23b57

Browse files
authored
add package README.md to make NuGet happier (#2875)
links are intentionally duplicated; IIRC the release notes MD processor is fairly restricted
1 parent 28fbe78 commit bb23b57

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/StackExchange.Redis/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
StackExchange.Redis is a high-performance RESP (Redis, etc) client for .NET, available under the MIT license.
2+
3+
- Release notes: [https://stackexchange.github.io/StackExchange.Redis/ReleaseNotes](https://stackexchange.github.io/StackExchange.Redis/ReleaseNotes)
4+
- NuGet package: [https://www.nuget.org/packages/StackExchange.Redis/](https://www.nuget.org/packages/StackExchange.Redis/)
5+
- General docs: [https://stackexchange.github.io/StackExchange.Redis/](https://stackexchange.github.io/StackExchange.Redis/)
6+
- Code: [https://github.com/StackExchange/StackExchange.Redis/](https://github.com/StackExchange/StackExchange.Redis/)

src/StackExchange.Redis/StackExchange.Redis.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
1313
<DefineConstants Condition="'$(TargetFramework)' != 'net461'">$(DefineConstants);VECTOR_SAFE</DefineConstants>
1414
<DefineConstants Condition="'$(TargetFramework)' != 'net461' and '$(TargetFramework)' != 'net472' and '$(TargetFramework)' != 'netstandard2.0'">$(DefineConstants);UNIX_SOCKET</DefineConstants>
15+
<PackageReadmeFile>README.md</PackageReadmeFile>
1516
</PropertyGroup>
1617

1718
<ItemGroup>
@@ -28,6 +29,8 @@
2829

2930
<!-- netfx needs this for ZipArchive -->
3031
<PackageReference Include="System.IO.Compression" Condition="'$(TargetFramework)' == 'net472' or '$(TargetFramework)' == 'net461' " />
32+
33+
<None Include="README.md" Pack="true" PackagePath="\"/>
3134
</ItemGroup>
3235

3336
<ItemGroup>

0 commit comments

Comments
 (0)