# Compatibility .Net client and newer version of ElasticSearch

**URL:** <https://discuss.elastic.co/t/compatibility-net-client-and-newer-version-of-elasticsearch/187809>\
**Category:** Elasticsearch\
**Created:** [June 27, 2019, 10:58am UTC](https://discuss.elastic.co/t/compatibility-net-client-and-newer-version-of-elasticsearch/187809 "2019-06-27T10:58:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max-Infra](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max-Infra](https://discuss.elastic.co/u/Max-Infra)\
**Post date:** [June 27, 2019, 10:58am UTC](https://discuss.elastic.co/t/compatibility-net-client-and-newer-version-of-elasticsearch/187809/1 "2019-06-27T10:58:50Z")

</div>

Hi,

I am currently using ElasticSearch 2.3.x and NEST client v2.5.2.

I want to upgrade to ElasticSearch 7.x and therefore upgrade NEST.  
Unfortunately, my projects are currently targeting the .NET Framework 4.5.2 (and I can not upgrade for an upper version for the moment) and the most updated versions of NEST (v6.3 to v6.8) are targeting .NET Framework 4.6.

I am thinking about using NEST v6.2 until I can upgrade the .NET Framework, will it be fully compatible with ElasticSearch v7.x ?

Thanks

---

<div class="post-metadata">

**Author:** ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)\
**Post date:** [July 1, 2019, 12:48am UTC](https://discuss.elastic.co/t/compatibility-net-client-and-newer-version-of-elasticsearch/187809/2 "2019-07-01T00:48:49Z")

</div>

> [@Max-Infra](#):
>
> I am thinking about using NEST v6.2 until I can upgrade the .NET Framework, will it be fully compatible with Elasticsearch v7.x ?

No, [NEST 6.x is not compatible with Elasticsearch 7.x](https://github.com/elastic/elasticsearch-net#compatibility-matrix), you must use NEST 7.x with Elasticsearch 7.x.

[NEST 7.0.0 was released a few days ago with support for .NET 4.6.1](https://www.nuget.org/packages/NEST/7.0.0), so if you can't move to a framework version that supports NetStandard 2.0 ([minimum .NET 4.7.2 or higher is recommended](https://docs.microsoft.com/en-us/dotnet/standard/net-standard#net-implementation-support) for .NET framework), this is the minimum that you would need to upgrade to.

I would strongly recommend upgrading from .NET 4.5.2 as soon as you can, if you can. Whilst technically still supported by Microsoft at this time, it's now [over 5 years old](https://support.microsoft.com/en-us/lifecycle/search?alpha=.NET%20Framework%204.5.2) and superseded by several minor and patch versions.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 29, 2019, 12:48am UTC](https://discuss.elastic.co/t/compatibility-net-client-and-newer-version-of-elasticsearch/187809/3 "2019-07-29T00:48:57Z")

</div>

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