https://bugzilla.novell.com/show_bug.cgi?id=457065
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=457065#c4 --- Comment #4 from Mike Morano <[EMAIL PROTECTED]> 2008-12-08 17:21:25 MST --- Hi Marek, Yes, I've confused things a little. The trace highlighted that it was using classes from the newtonsoft namespace as this code was included in the build, but did not reference the library itself. Sorry for not being clear before. I don't believe I have had multiple versions of sys.web.ext installed, this is a fresh install of opensuse 11, and have upgraded mono to version 2.0.1. I presume 2.0.1 is using the new implementation, correct? The following are the different entries I have in my gac for this dll: System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 My web.config is referencing the 3.5 version, and I also have lines in there regarding the assembly binding redirection for 1.x -> 3.5. When I start XSP2 from the command line using the system installed mono, using the following: MONO_OPTIONS="--verbose --debug --trace=N:System.Web.Extensions,N:Newtonsoft.Json" \ /usr/bin/xsp2 \ --port 8888 \ --applications /:. \ --root /home/mmorano/src_www I get numerous entries like the following in the trace output, referencing the newtonsoft classes: ENTER: Newtonsoft.Json.JsonWriter:WriteEndObject ()(this:0x7fdb880534c0[Newtonsoft.Json.JsonWriter c8a64f40], ) . . . . . ENTER: Newtonsoft.Json.JsonWriter:AutoCompleteClose (Newtonsoft.Json.JsonToken)(this:0x7fdb880534c0[Newtonsoft.Json.JsonWriter c8a64f40], 11, ) . . . . . . ENTER: Newtonsoft.Json.JsonWriter:GetTypeForCloseToken (Newtonsoft.Json.JsonToken)(this:0x7fdb880534c0[Newtonsoft.Json.JsonWriter c8a64f40], 11, ) . . . . . . LEAVE: Newtonsoft.Json.JsonWriter:GetTypeForCloseToken (Newtonsoft.Json.JsonToken)result=0 . . . . . . ENTER: Newtonsoft.Json.JsonWriter:Pop ()(this:0x7fdb880534c0[Newtonsoft.Json.JsonWriter c8a64f40], ) . . . . . . . ENTER: Newtonsoft.Json.JsonWriter:Peek ()(this:0x7fdb880534c0[Newtonsoft.Json.JsonWriter c8a64f40], ) . . . . . . . LEAVE: Newtonsoft.Json.JsonWriter:Peek ()result=0 . . . . . . LEAVE: Newtonsoft.Json.JsonWriter:Pop ()result=0 However, if I run the same thing using the one I built from SVN, using the following command: MONO_OPTIONS="--verbose --debug --trace=N:System.Web.Extensions,N:Newtonsoft.Json" \ /opt/mono/bin/xsp2 \ --port 8888 \ --applications /:. \ --root /home/mmorano/src_www I get the following output (which illustrates that it is using the new impl): Method System.Web.Script.Serialization.JavaScriptSerializer:Serialize (object,System.IO.TextWriter) emitted at 0x416aeb00 to 0x416aeb29 (code length 41) [c8a64f40] Method System.Web.Script.Serialization.Json:Serialize (object,System.Web.Script.Serialization.JavaScriptSerializer,System.IO.TextWriter) emitted at 0x416aeb40 to 0x416aeb91 (code length 81) [c8a64f40] Method System.Web.Script.Serialization.JsonSerializer:.ctor (System.Web.Script.Serialization.JavaScriptSerializer) emitted at 0x416aebb0 to 0x416aec2c If you feel this is still an environment issue on my side, please feel free to close, and I won't reopen this item. I just can not explain the difference between the package version and the custom built from SVN, and wanted to make sure this wasn't affecting a wider audience. Thanks again for your time and help, Mike -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
