【发布时间】:2018-09-14 07:06:49
【问题描述】:
在将 NewtonSoft.Json 更新到版本 10.0.3 后,我收到一条错误消息 System.MissingMethodException: Method not found: 'Newtonsoft.Json.SerializationBinder' from Azure .NET SDK
这是 StackTrace 的一部分
at Microsoft.Azure.Search.JsonUtility.CopySettings(JsonSerializerSettings baseSettings)
at Microsoft.Azure.Search.JsonUtility.CreateDeserializerSettings[TSearchResult,TSuggestResult,TDoc](JsonSerializerSettings baseSettings)
at Microsoft.Azure.Search.DocumentsOperations.DeserializeForSearch[T](String payload)
at Microsoft.Azure.Search.DocumentsOperations.<DoContinueSearchWithHttpMessagesAsync>d__21`3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Search.DocumentsOperationsExtensions.<SearchAsync>d__17`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
我正在使用最新版本的 Microsoft.Azure.Search 和 .Net Core
【问题讨论】:
标签: azure azure-cognitive-search