Madan Shekar

Madan Shekar

  • 218
  • 8.3k
  • 1.2m

Run time issue after upgrading Nest.DLL [Elastic search]

Apr 28 2022 12:31 PM

Hello Folks,

I have updated to Nest.dll from 6.8.1 to 7.17.1 , after that i'm getting a runtime issue like below

Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService[104] Health check elasticsearch threw an unhandled exception after 0.5423ms System.TypeLoadException: Could not load type 'Nest.IPingResponse' from assembly 'Nest, Version=7.0.0.0, Culture=neutral, PublicKeyToken=96c599bbe3e70f5d'. at HealthChecks.Elasticsearch.ElasticsearchHealthCheck.CheckHealthAsync(HealthCheckContext context, CancellationToken cancellationToken)

I have verified in the entire solution i didn't see any reference for older version , and also i did clean and rebuild and nuget cache restore.

Please help me to resolve this issue.


Answers (3)