1

I am migrating from VS 2015 to VS 2017 .NET Core. Project contains Nest library with ElasticClient to contact ElasticSearch. I added Nest (5.4.0) as Nuget package to project and created class that is referencing ElasticSearch class, but ElasticClient doesn't exist (The type or namespace name 'ElasticClient' could not be found (are you missing a using directive or an assembly reference?)). Same thing is happening with ConnectionSettings class.

Does Nest library in .NET Core contain ElasticClient class? Should I add another package? Am I doing something wrong? Is there an available .NET Core project that could be used as an example?

1

1 Answer 1

1

It is not working in VS 2017 with .NET Core 1.1 project. When I downloaded VS 2017 preview 2 in .NET Core 2 it is working correctly.

Sign up to request clarification or add additional context in comments.

2 Comments

Visual Studio 2017 Update 2 was released a while ago. It's no longer in Preview. Update 3 is in preview
Yes. I installed Update 3.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.