Possible bug in elasticsearch nuget package

Hi, I found that elastic maybe have error in requirements of his nuget package.

On nuget store is:
Dependencies:
.NET Framework, Version=v4.6.1
System.Diagnostics.DiagnosticSource (>= 4.5.1).

But if I try to run query into elasticSearch with DiagnosticSource library version greater than 4.5.1 it will endup with following error.

Could not load file or assembly 'System.Diagnostics.DiagnosticSource, Version=4.0.3.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I think there is hardcoded version of DiagnosticSource library.

Hi @vohanka, would you mind opening an issue on the repository to discuss further? A small repro gist or repository would be greatly appreciated.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.