Skip to content

Commit 25645c0

Browse files
committed
Add System.Diagnostics.DiagnosticSource reference for NetStandard 2.0 (#3948)
Fixes #3945 (cherry picked from commit 44e9836)
1 parent 4edf4fc commit 25645c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/Elasticsearch.Net.nuspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@
1111
<iconUrl>https://raw.githubusercontent.com/elastic/elasticsearch-net/master/build/nuget-icon.png</iconUrl>
1212
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1313
<description>Elasticsearch.Net</description>
14-
<summary>Exposes all the elasticsearch API endpoints but leaves you in control of building the request and response bodies. Comes with built in cluster failover/connection pooling support.</summary>
14+
<summary>Exposes all the Elasticsearch API endpoints but leaves you in control of building the request and response bodies. Comes with built in cluster failover/connection pooling support.</summary>
1515
<releaseNotes>See https://github.com/elastic/elasticsearch-net/releases/tag/$version$</releaseNotes>
1616
<copyright>2014-$year$ Elasticsearch BV</copyright>
1717
<tags>elasticsearch,elastic,search,lucene,nest</tags>
1818
<dependencies>
1919
<group targetFramework=".NETStandard2.0">
2020
<dependency id="System.Buffers" version="[4.5.0,)"/>
21+
<dependency id="System.Diagnostics.DiagnosticSource" version="[4.5.1,)" />
2122
<dependency id="System.Reflection.Emit" version="[4.3.0,)"/>
2223
<dependency id="System.Reflection.Emit.Lightweight" version="[4.3.0,)"/>
2324
</group>

src/Elasticsearch.Net/Elasticsearch.Net.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
<PackageReference Condition="'$(TargetFramework)' == 'netstandard2.0'" Include="System.Reflection.Emit" Version="4.3.0" />
2222
<PackageReference Condition="'$(TargetFramework)' == 'netstandard2.0'" Include="System.Reflection.Emit.Lightweight" Version="4.3.0" />
23-
2423
</ItemGroup>
2524
<ItemGroup>
2625
<Compile Update="ElasticLowLevelClient.*.cs">

0 commit comments

Comments
 (0)