I get the following error when the Linker Behavior property is set to SDK Framework Link Only.
Cannot resolve the link "System.Void Newtonsoft.Json.Serialization.DefaultContractResolver :: set_IgnoreSerializableAttribute (System.Boolean)" referenced by the method "System.Void System.Net.Http.Formatting.JsonContractResolver ::. Ctor (System.Net .Http.Formatting.MediaTypeFormatter) 'in' Newtonsoft.Json, Version = 6.0.0.0, Culture = neutral, PublicKeyToken = 30ad4fe6b2a6aeed '.
My build compiles when the linker Behavior is set to Do Not Link.
I tried:
- linkskip = System.Void Newtonsoft.Json.Serialization.DefaultContractResolver
- linkskip = System.Void Newtonsoft.Json
- linkskip = System.Void
- linkskip = Newtonsoft.Json
- linkskip = System.Void System.Net.Http.Formatting.JsonContractResolver
- linkskip = System.Net.Http.Formatting.MediaTypeFormatter
Any suggestions?
thanks
source share