c# - Json.NET Windows Store App certification crash -


this might not related 100% json.net since it's component crashes...

the serialization works fine until second test of windows app cert kit. starting app launch throws following exception:

system.entrypointnotfoundexception entry point not found. @ newtonsoft.json.utilities.reflectionutils.getfieldsandproperties(type type, bindingflags bindingattr) in \newtonsoft.json\utilities\reflectionutils.cs:line 661 @ newtonsoft.json.serialization.defaultcontractresolver.getserializablemembers(type objecttype) in \newtonsoft.json\serialization\defaultcontractresolver.cs:line 267 @ newtonsoft.json.serialization.defaultcontractresolver.createproperties(type type, memberserialization memberserialization) in \newtonsoft.json\serialization\defaultcontractresolver.cs:line 845 @ newtonsoft.json.serialization.defaultcontractresolver.createobjectcontract(type objecttype) in \newtonsoft.json\serialization\defaultcontractresolver.cs:line 349 @ newtonsoft.json.serialization.defaultcontractresolver.createcontract(type objecttype) in \newtonsoft.json\serialization\defaultcontractresolver.cs:line 734 @ newtonsoft.json.serialization.defaultcontractresolver.resolvecontract(type type) in \newtonsoft.json\serialization\defaultcontractresolver.cs:line 232 @ newtonsoft.json.serialization.jsonserializerinternalwriter.getcontractsafe(object value) in \newtonsoft.json\serialization\jsonserializerinternalwriter.cs:line 77 @ newtonsoft.json.serialization.jsonserializerinternalwriter.serialize(jsonwriter jsonwriter, object value) in \newtonsoft.json\serialization\jsonserializerinternalwriter.cs:line 58 @ newtonsoft.json.jsonserializer.serializeinternal(jsonwriter jsonwriter, object value) in \newtonsoft.json\jsonserializer.cs:line 608 @ newtonsoft.json.jsonconvert.serializeobject(object value, formatting formatting, jsonserializersettings settings) in \newtonsoft.json\jsonconvert.cs:line 749 

the code looks this...

var test = jsonconvert.serializeobject(new { id = "a", test = "test" }); 

after running wack on app have reinstall make work again.

does know how wack runs app? suppose somehow simultates various environments @ each launch can't find out how messes app.

the problem caused json.net using anonymous type in getfieldsandproperties. winrt must have bug them when used in third party dll.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -