diff --git a/examples/Elastic.Managed.Example/Elastic.Managed.Example.csproj b/examples/Elastic.Managed.Example/Elastic.Managed.Example.csproj
index 778ede3..cc1f68c 100644
--- a/examples/Elastic.Managed.Example/Elastic.Managed.Example.csproj
+++ b/examples/Elastic.Managed.Example/Elastic.Managed.Example.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net6.0
False
diff --git a/examples/Elastic.Xunit.ExampleComplex/Elastic.Xunit.ExampleComplex.csproj b/examples/Elastic.Xunit.ExampleComplex/Elastic.Xunit.ExampleComplex.csproj
index dedea61..25d4ff8 100644
--- a/examples/Elastic.Xunit.ExampleComplex/Elastic.Xunit.ExampleComplex.csproj
+++ b/examples/Elastic.Xunit.ExampleComplex/Elastic.Xunit.ExampleComplex.csproj
@@ -1,6 +1,6 @@
- net5.0;net461
+ net6.0;net462
False
diff --git a/examples/Elastic.Xunit.ExampleMinimal/Elastic.Xunit.ExampleMinimal.csproj b/examples/Elastic.Xunit.ExampleMinimal/Elastic.Xunit.ExampleMinimal.csproj
index a96d86e..de16926 100644
--- a/examples/Elastic.Xunit.ExampleMinimal/Elastic.Xunit.ExampleMinimal.csproj
+++ b/examples/Elastic.Xunit.ExampleMinimal/Elastic.Xunit.ExampleMinimal.csproj
@@ -1,6 +1,6 @@
- net5.0;net461
+ net6.0;net462
False
diff --git a/examples/Elastic.Xunit.ExampleMinimal/ExampleTest.cs b/examples/Elastic.Xunit.ExampleMinimal/ExampleTest.cs
index 5d0f410..0b44131 100644
--- a/examples/Elastic.Xunit.ExampleMinimal/ExampleTest.cs
+++ b/examples/Elastic.Xunit.ExampleMinimal/ExampleTest.cs
@@ -37,7 +37,7 @@ public ExampleTest(MyTestCluster cluster) =>
// 2) We do not want Elastic.Elasticsearch.Xunit to depend on NEST. Elastic.Elasticsearch.Xunit can start 2.x, 5.x and 6.x clusters
// and NEST Major.x is only tested and supported against Elasticsearch Major.x.
//
- Client = cluster.GetOrAddClient(c =>
+ Client = cluster.GetOrAddClient(c =>
{
var nodes = cluster.NodesUris();
var connectionPool = new StaticConnectionPool(nodes);
diff --git a/examples/ScratchPad/ScratchPad.csproj b/examples/ScratchPad/ScratchPad.csproj
index 7462b94..cef057c 100644
--- a/examples/ScratchPad/ScratchPad.csproj
+++ b/examples/ScratchPad/ScratchPad.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ net6.0
False
diff --git a/global.json b/global.json
index a3c9d40..c317b00 100644
--- a/global.json
+++ b/global.json
@@ -1,6 +1,6 @@
{
"sdk": {
- "version": "5.0.408",
+ "version": "6.0.302",
"rollForward": "latestFeature",
"allowPrerelease": false
}
diff --git a/src/Elastic.Elasticsearch.Ephemeral/Elastic.Elasticsearch.Ephemeral.csproj b/src/Elastic.Elasticsearch.Ephemeral/Elastic.Elasticsearch.Ephemeral.csproj
index d0c2cae..2a1477a 100644
--- a/src/Elastic.Elasticsearch.Ephemeral/Elastic.Elasticsearch.Ephemeral.csproj
+++ b/src/Elastic.Elasticsearch.Ephemeral/Elastic.Elasticsearch.Ephemeral.csproj
@@ -1,7 +1,7 @@
- netstandard2.0;net461
+ netstandard2.0;net462
Provides an EphemeralCluster implementation that can download/bootstrap/run a throwaway customizable Elasticsearch cluster
elastic,elasticsearch,cluster,ephemeral
diff --git a/src/Elastic.Elasticsearch.Managed/Elastic.Elasticsearch.Managed.csproj b/src/Elastic.Elasticsearch.Managed/Elastic.Elasticsearch.Managed.csproj
index ba7a1ed..5dd1bbb 100644
--- a/src/Elastic.Elasticsearch.Managed/Elastic.Elasticsearch.Managed.csproj
+++ b/src/Elastic.Elasticsearch.Managed/Elastic.Elasticsearch.Managed.csproj
@@ -1,7 +1,7 @@
- netstandard2.0;net461
+ netstandard2.0;net462
Provides an observable ElasticsearchNode abstraction that can be used to wrap an elasticsearch process.
Also ships with an cluster abstraction that can start one or more ElasticsearchNode's
diff --git a/src/Elastic.Elasticsearch.Xunit/Elastic.Elasticsearch.Xunit.csproj b/src/Elastic.Elasticsearch.Xunit/Elastic.Elasticsearch.Xunit.csproj
index 3b6ae34..9877920 100644
--- a/src/Elastic.Elasticsearch.Xunit/Elastic.Elasticsearch.Xunit.csproj
+++ b/src/Elastic.Elasticsearch.Xunit/Elastic.Elasticsearch.Xunit.csproj
@@ -1,6 +1,6 @@
- netstandard2.0;netstandard2.1;net461
+ netstandard2.0;netstandard2.1;net462
True
Provides an Xunit test framework allowing you to run integration tests against local ephemeral Elasticsearch clusters
elastic,elasticsearch,xunit,cluster,integration,test,ephemeral
diff --git a/src/Elastic.Stack.ArtifactsApi/Elastic.Stack.ArtifactsApi.csproj b/src/Elastic.Stack.ArtifactsApi/Elastic.Stack.ArtifactsApi.csproj
index 962abdf..02bfc9f 100644
--- a/src/Elastic.Stack.ArtifactsApi/Elastic.Stack.ArtifactsApi.csproj
+++ b/src/Elastic.Stack.ArtifactsApi/Elastic.Stack.ArtifactsApi.csproj
@@ -1,6 +1,6 @@
- netstandard2.0;net461
+ netstandard2.0;net462
Provides a set of classes to resolve the location of Elastic stack products in various stages: released, snapshot and build candidates
elastic,elasticsearch,stack,versioning,artifacts
diff --git a/src/Nest.TypescriptExporter/Nest.TypescriptExporter.csproj b/src/Nest.TypescriptExporter/Nest.TypescriptExporter.csproj
index f34599c..da98198 100644
--- a/src/Nest.TypescriptExporter/Nest.TypescriptExporter.csproj
+++ b/src/Nest.TypescriptExporter/Nest.TypescriptExporter.csproj
@@ -1,7 +1,7 @@
Exe
- net5.0
+ net6.0
False
False