Nest updated 5.5.0 to 6.0.0 problem

My project crashes after I updated Nest 5.5.0 to 6.0.0.

I get this exception:

Could not load type 'Newtonsoft.Json.JsonReader+d__1' from assembly 'Nest, Version=6.0.0.0, Culture=neutral, PublicKeyToken=96c599bbe3e70f5d'.

System.TypeLoadException: Could not load type 'Newtonsoft.Json.JsonReader+d__1' from assembly 'Nest, Version=6.0.0.0, Culture=neutral, PublicKeyToken=96c599bbe3e70f5d'.

Posting this for posterity.

Issue was EpiServer's assembly type scanner was picking up internal types that were not fully rewritten from NewtonSoft.Json to Nest.Json.

Also posted as GitHub issue and handled as of:

Thanks against for bringing this to our attention @aslamy !

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