Cannot build elasticsearch-net from source, missing references

Hi!

I'm trying to build the master branch of elasticsearch-net from scratch, using Visual Studio 2017 Community.

The solution opens fine, and NuGet dependencies are restored.

When I try to build the solution, the project Nest will not build, giving thousands of errors regarding Newtonsoft.Json being missing. A typical error is:

2>Aggregations\AggregateJsonConverter.cs(7,7,7,17): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)

I've double checked that the NuGet Newtonsont.Json dependency has downloaded - it has - and intellisense even works.

Does anyone know how I can get the source to build, or what else to check?

Thanks,
Chris.

My solution to this:

Use the build scripts, rather than trying to build in Visual Studio (my version is 2017).

See the build details here - https://github.com/elastic/elasticsearch-net/blob/master/contributing.md

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