<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>sdlsdk Work Item Rss Feed</title><link>http://www.codeplex.com/sdlsdk/WorkItem/List.aspx</link><description>sdlsdk Work Item Rss Description</description><item><title>Closed Feature: Data binding [11844]</title><link>http://sdlsdk.codeplex.com/WorkItem/View.aspx?WorkItemId=11844</link><description>Data binding with Python&amp;#47;Ruby is basically useless in Silverlight because of the lack of support for ICustomTypeDescriptor. This needs to be fixed.&lt;br /&gt;Comments: &lt;p&gt;This is now fixed with clrtype.py. See this post&amp;#58; http&amp;#58;&amp;#47;&amp;#47;gui-at.blogspot.com&amp;#47;2009&amp;#47;11&amp;#47;inotifypropertychanged-and-databinding.html&lt;/p&gt;</description><author>jimmysch</author><pubDate>Thu, 18 Feb 2010 06:09:08 GMT</pubDate><guid isPermaLink="false">Closed Feature: Data binding [11844] 20100218060908A</guid></item><item><title>Commented Issue: IDynamicObject or IDynamicMetaObjectProvider in DLR for Silverlight? [13690]</title><link>http://sdlsdk.codeplex.com/WorkItem/View.aspx?WorkItemId=13690</link><description>Hello&amp;#33;&lt;br /&gt;&lt;br /&gt;We are currently implementing an application with scripting enabled using the DLR. One goal is to write a single code base for Silverlight and WPF. Most pieces work great. However, what we are missing is something like Microsoft.Scripting.Actions.IDynamicObject &amp;#40;from DLR SDK on codeplex&amp;#41; or System.Dynamic.IDynamicMetaObjectProvider &amp;#40;from .NET 4&amp;#41;.&lt;br /&gt;&lt;br /&gt;Here is what we try to achieve&amp;#58;&lt;br /&gt;1. Develop a class in C&amp;#35; with some built-in properties&lt;br /&gt;2. Extend the class &amp;#40;e.g. add properties&amp;#41; using user-configurable metadata DURING RUNTIME &amp;#40;to be exact&amp;#58; the scripts will be used to modify metadata&amp;#41;&lt;br /&gt;3. Access instances of the class from within python scripts&amp;#59; the scripts have to have access to both built-in AND dynamically added properties&lt;br /&gt;&lt;br /&gt;We have a working solution for WPF 3.5 and 4.0. In Silverlight we did not find a proper interface with which we can achieve what we have to build.&lt;br /&gt;&lt;br /&gt;We have already thought &amp;#40;and implemented&amp;#41; a workaround using dynamically generated types &amp;#40;based on ILGenerator.Emit&amp;#41;. In this workaround we create derived classes on the fly based on metadata. This works nice with Silverlight &amp;#40;special feature&amp;#58; This way Data Binding works&amp;#33;&amp;#41;. However, in our case metadata can change every now and than which results in a large number of unused dynamically generated types because once created we cannot get rid of the types any more &amp;#40;we do not want to create them in a separate AppDomain, too much overhead&amp;#41;. Because of this a dynamic solution like on the full client would be preferred.&lt;br /&gt;&lt;br /&gt;It would be great if someone could point me to a possible solution. Even if you don&amp;#39;t have one and you are sure that what we want is not possible in Silverlight 3, please drop me a line. In this case we can stop researching.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Rainer&lt;br /&gt;Comments: ** Comment from web user: mamadero ** &lt;p&gt;I checked and it&amp;#39;s not support in Silverlight 4 either. Please vote here&lt;br /&gt;https&amp;#58;&amp;#47;&amp;#47;connect.microsoft.com&amp;#47;VisualStudio&amp;#47;feedback&amp;#47;ViewFeedback.aspx&amp;#63;FeedbackID&amp;#61;522119&amp;#38;wa&amp;#61;wsignin1.0&lt;br /&gt;&lt;/p&gt;</description><author>mamadero</author><pubDate>Mon, 04 Jan 2010 01:10:27 GMT</pubDate><guid isPermaLink="false">Commented Issue: IDynamicObject or IDynamicMetaObjectProvider in DLR for Silverlight? [13690] 20100104011027A</guid></item><item><title>Commented Issue: IDynamicObject or IDynamicMetaObjectProvider in DLR for Silverlight? [13690]</title><link>http://sdlsdk.codeplex.com/WorkItem/View.aspx?WorkItemId=13690</link><description>Hello&amp;#33;&lt;br /&gt;&lt;br /&gt;We are currently implementing an application with scripting enabled using the DLR. One goal is to write a single code base for Silverlight and WPF. Most pieces work great. However, what we are missing is something like Microsoft.Scripting.Actions.IDynamicObject &amp;#40;from DLR SDK on codeplex&amp;#41; or System.Dynamic.IDynamicMetaObjectProvider &amp;#40;from .NET 4&amp;#41;.&lt;br /&gt;&lt;br /&gt;Here is what we try to achieve&amp;#58;&lt;br /&gt;1. Develop a class in C&amp;#35; with some built-in properties&lt;br /&gt;2. Extend the class &amp;#40;e.g. add properties&amp;#41; using user-configurable metadata DURING RUNTIME &amp;#40;to be exact&amp;#58; the scripts will be used to modify metadata&amp;#41;&lt;br /&gt;3. Access instances of the class from within python scripts&amp;#59; the scripts have to have access to both built-in AND dynamically added properties&lt;br /&gt;&lt;br /&gt;We have a working solution for WPF 3.5 and 4.0. In Silverlight we did not find a proper interface with which we can achieve what we have to build.&lt;br /&gt;&lt;br /&gt;We have already thought &amp;#40;and implemented&amp;#41; a workaround using dynamically generated types &amp;#40;based on ILGenerator.Emit&amp;#41;. In this workaround we create derived classes on the fly based on metadata. This works nice with Silverlight &amp;#40;special feature&amp;#58; This way Data Binding works&amp;#33;&amp;#41;. However, in our case metadata can change every now and than which results in a large number of unused dynamically generated types because once created we cannot get rid of the types any more &amp;#40;we do not want to create them in a separate AppDomain, too much overhead&amp;#41;. Because of this a dynamic solution like on the full client would be preferred.&lt;br /&gt;&lt;br /&gt;It would be great if someone could point me to a possible solution. Even if you don&amp;#39;t have one and you are sure that what we want is not possible in Silverlight 3, please drop me a line. In this case we can stop researching.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Rainer&lt;br /&gt;Comments: ** Comment from web user: mamadero ** &lt;p&gt;Have you looked at Silverlight 4&amp;#63; It might be supported there&lt;/p&gt;</description><author>mamadero</author><pubDate>Fri, 18 Dec 2009 03:53:08 GMT</pubDate><guid isPermaLink="false">Commented Issue: IDynamicObject or IDynamicMetaObjectProvider in DLR for Silverlight? [13690] 20091218035308A</guid></item><item><title>Created Issue: IDynamicObject or IDynamicMetaObjectProvider in DLR for Silverlight?</title><link>http://sdlsdk.codeplex.com/WorkItem/View.aspx?WorkItemId=13690</link><description>Hello&amp;#33;&lt;br /&gt;&lt;br /&gt;We are currently implementing an application with scripting enabled using the DLR. One goal is to write a single code base for Silverlight and WPF. Most pieces work great. However, what we are missing is something like Microsoft.Scripting.Actions.IDynamicObject &amp;#40;from DLR SDK on codeplex&amp;#41; or System.Dynamic.IDynamicMetaObjectProvider &amp;#40;from .NET 4&amp;#41;.&lt;br /&gt;&lt;br /&gt;Here is what we try to achieve&amp;#58;&lt;br /&gt;1. Develop a class in C&amp;#35; with some built-in properties&lt;br /&gt;2. Extend the class &amp;#40;e.g. add properties&amp;#41; using user-configurable metadata DURING RUNTIME &amp;#40;to be exact&amp;#58; the scripts will be used to modify metadata&amp;#41;&lt;br /&gt;3. Access instances of the class from within python scripts&amp;#59; the scripts have to have access to both built-in AND dynamically added properties&lt;br /&gt;&lt;br /&gt;We have a working solution for WPF 3.5 and 4.0. In Silverlight we did not find a proper interface with which we can achieve what we have to build.&lt;br /&gt;&lt;br /&gt;We have already thought &amp;#40;and implemented&amp;#41; a workaround using dynamically generated types &amp;#40;based on ILGenerator.Emit&amp;#41;. In this workaround we create derived classes on the fly based on metadata. This works nice with Silverlight &amp;#40;special feature&amp;#58; This way Data Binding works&amp;#33;&amp;#41;. However, in our case metadata can change every now and than which results in a large number of unused dynamically generated types because once created we cannot get rid of the types any more &amp;#40;we do not want to create them in a separate AppDomain, too much overhead&amp;#41;. Because of this a dynamic solution like on the full client would be preferred.&lt;br /&gt;&lt;br /&gt;It would be great if someone could point me to a possible solution. Even if you don&amp;#39;t have one and you are sure that what we want is not possible in Silverlight 3, please drop me a line. In this case we can stop researching.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Rainer&lt;br /&gt;</description><author>r_stropek</author><pubDate>Wed, 22 Jul 2009 11:30:15 GMT</pubDate><guid isPermaLink="false">Created Issue: IDynamicObject or IDynamicMetaObjectProvider in DLR for Silverlight? 20090722113015A</guid></item><item><title>Commented Issue: XMLRPCLIB</title><link>http://dynamicsilverlight.codeplex.com/WorkItem/View.aspx?WorkItemId=13504</link><description>I am having trouble getting the xmlrcplib module to work.&lt;br /&gt;&lt;br /&gt;I have two attempts at doing this, so I will upload both files.&lt;br /&gt;&lt;br /&gt;Chris_Lee version uses a library I got from Chris Lee who said it works for xmlrclib, but it is really old.&lt;br /&gt;This version throws an exception to importing xmlrpclib with failure to import struct&lt;br /&gt;&lt;br /&gt;Seo_sanghyeon version uses a ironpython version of socket.py that he wrote&lt;br /&gt;This version throws and exception to creating the server with failure to NetworkStream&lt;br /&gt;&lt;br /&gt;Also, note that with the Seo version I have dumped the entire ironpython library into the app.&lt;br /&gt;Is there a better way of determining what lib files are needed&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: Dickerson ** &lt;p&gt;Please notify me when this is solved Dickerson4&amp;#64;dow.com&lt;/p&gt;</description><author>Dickerson</author><pubDate>Mon, 22 Jun 2009 17:55:42 GMT</pubDate><guid isPermaLink="false">Commented Issue: XMLRPCLIB 20090622055542P</guid></item><item><title>Commented Issue: Chiron hosting an old version of Silverlight</title><link>http://dynamicsilverlight.codeplex.com/WorkItem/View.aspx?WorkItemId=13481</link><description>I start the server with script&amp;#92;server &amp;#47;b which brings up IE with a directory structure.&lt;br /&gt;&lt;br /&gt;After moving into samples&amp;#92;python&amp;#92;clock&amp;#92;index.html it says I need to install silverlight.  However I already have silverlight installed and Microsoft agrees and says the server is using an old version of silverlight.&lt;br /&gt;Comments: ** Comment from web user: Ben_Christenson ** &lt;p&gt;Fixed by downloading Silverlight Dynamic again.&lt;/p&gt;</description><author>Ben_Christenson</author><pubDate>Thu, 18 Jun 2009 15:19:11 GMT</pubDate><guid isPermaLink="false">Commented Issue: Chiron hosting an old version of Silverlight 20090618031911P</guid></item><item><title>Commented Issue: Chiron hosting an old version of Silverlight</title><link>http://dynamicsilverlight.codeplex.com/WorkItem/View.aspx?WorkItemId=13481</link><description>I start the server with script&amp;#92;server &amp;#47;b which brings up IE with a directory structure.&lt;br /&gt;&lt;br /&gt;After moving into samples&amp;#92;python&amp;#92;clock&amp;#92;index.html it says I need to install silverlight.  However I already have silverlight installed and Microsoft agrees and says the server is using an old version of silverlight.&lt;br /&gt;Comments: ** Comment from web user: Ben_Christenson ** &lt;p&gt;Fixed by downloading Silverlight Dynamic again.&lt;/p&gt;</description><author>Ben_Christenson</author><pubDate>Thu, 18 Jun 2009 15:19:05 GMT</pubDate><guid isPermaLink="false">Commented Issue: Chiron hosting an old version of Silverlight 20090618031905P</guid></item><item><title>Created Issue: XMLRPCLIB</title><link>http://dynamicsilverlight.codeplex.com/WorkItem/View.aspx?WorkItemId=13504</link><description>I am having trouble getting the xmlrcplib module to work.&lt;br /&gt;&lt;br /&gt;I have two attempts at doing this, so I will upload both files.&lt;br /&gt;&lt;br /&gt;Chris_Lee version uses a library I got from Chris Lee who said it works for xmlrclib, but it is really old.&lt;br /&gt;This version throws an exception to importing xmlrpclib with failure to import struct&lt;br /&gt;&lt;br /&gt;Seo_sanghyeon version uses a ironpython version of socket.py that he wrote&lt;br /&gt;This version throws and exception to creating the server with failure to NetworkStream&lt;br /&gt;&lt;br /&gt;Also, note that with the Seo version I have dumped the entire ironpython library into the app.&lt;br /&gt;Is there a better way of determining what lib files are needed&amp;#63;&lt;br /&gt;</description><author>Ben_Christenson</author><pubDate>Thu, 18 Jun 2009 14:43:32 GMT</pubDate><guid isPermaLink="false">Created Issue: XMLRPCLIB 20090618024332P</guid></item><item><title>Created Issue: Chiron hosting an old version of Silverlight</title><link>http://dynamicsilverlight.codeplex.com/WorkItem/View.aspx?WorkItemId=13481</link><description>I start the server with script&amp;#92;server &amp;#47;b which brings up IE with a directory structure.&lt;br /&gt;&lt;br /&gt;After moving into samples&amp;#92;python&amp;#92;clock&amp;#92;index.html it says I need to install silverlight.  However I already have silverlight installed and Microsoft agrees and says the server is using an old version of silverlight.&lt;br /&gt;</description><author>Ben_Christenson</author><pubDate>Sun, 14 Jun 2009 13:01:17 GMT</pubDate><guid isPermaLink="false">Created Issue: Chiron hosting an old version of Silverlight 20090614010117P</guid></item><item><title>Created Issue: Space in the directory path</title><link>http://dynamicsilverlight.codeplex.com/WorkItem/View.aspx?WorkItemId=13480</link><description>I am running Windows 7 and have a space in the directory path to chiron.  It seems to break it, but doesn&amp;#39;t on Vista.&lt;br /&gt;&lt;br /&gt;Low Priority&lt;br /&gt;</description><author>Ben_Christenson</author><pubDate>Sun, 14 Jun 2009 12:50:06 GMT</pubDate><guid isPermaLink="false">Created Issue: Space in the directory path 20090614125006P</guid></item><item><title>Commented Feature: Data binding</title><link>http://dynamicsilverlight.codeplex.com/WorkItem/View.aspx?WorkItemId=11844</link><description>Data binding with Python&amp;#47;Ruby is basically useless in Silverlight because of the lack of support for ICustomTypeDescriptor. This needs to be fixed.&lt;br /&gt;Comments: ** Comment from web user: harrypierson ** &lt;p&gt;With the new __clrtype__ suport in IronPython 2.6, you can now databind IronPython objects in Silverlight. Details here&amp;#58; http&amp;#58;&amp;#47;&amp;#47;devhawk.net&amp;#47;2009&amp;#47;04&amp;#47;24&amp;#47;clrtype&amp;#43;Metaclasses&amp;#43;Demo&amp;#43;Silverlight&amp;#43;Databinding.aspx&lt;br /&gt;&lt;/p&gt;</description><author>harrypierson</author><pubDate>Fri, 24 Apr 2009 21:28:47 GMT</pubDate><guid isPermaLink="false">Commented Feature: Data binding 20090424092847P</guid></item><item><title>Created Issue: Iron* Interactive Shell Layout</title><link>http://dynamicsilverlight.codeplex.com/WorkItem/View.aspx?WorkItemId=13063</link><description>I&amp;#39;m using an Apple External Keyboard as well as the macbook&amp;#39;s default keyboard with my pt-PT layout viewing the IronPython&amp;#47;Ruby Interactive Shell in http&amp;#58;&amp;#47;&amp;#47;ironpython.codeplex.com&amp;#47;Wiki&amp;#47;View.aspx&amp;#63;title&amp;#61;SilverlightInteractiveSession.&lt;br /&gt;&lt;br /&gt;Somehow it accepts my input as a en-US layout. For instance shift&amp;#43;0 &amp;#40;&amp;#61; in my layout&amp;#41; writes &amp;#41; in the shell. Which is wrong.&lt;br /&gt;&lt;br /&gt;Also, clicking the about link does nothing but making the SL canvas white. It should work also.&lt;br /&gt;</description><author>alcides</author><pubDate>Tue, 21 Apr 2009 21:13:15 GMT</pubDate><guid isPermaLink="false">Created Issue: Iron* Interactive Shell Layout 20090421091315P</guid></item><item><title>Commented Issue: Possible parsing issue with JSON (IronPython + System.Net.Json)</title><link>http://dynamicsilverlight.codeplex.com/WorkItem/View.aspx?WorkItemId=12906</link><description>I am running into a reproducible and mildly annoying problem, which I can&amp;#39;t find any other references to online and assume it&amp;#39;s a translation issue b&amp;#47;w the agDLR and Silverlight itself.&lt;br /&gt;&lt;br /&gt;When parsing a JSON String via JsonArray or JsonObject &amp;#40;.Parse, but also attempted converting to a MemoryStream and running &amp;#39;Load&amp;#39;&amp;#41; I am getting &amp;#34;extra&amp;#34; quotes &amp;#40;Double quote - &amp;#34;&amp;#41; embedded in any Strings &amp;#40;JsonPrimitive, JsonType &amp;#39;String&amp;#39;&amp;#41;.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve tried a bunch of different things.  Out of curiosity, if I change all double-quotes in the response string to single quotes, it still parses, and still includes &amp;#34;extra&amp;#34; double quotes inside.  I am running lstrip&amp;#40;&amp;#39;&amp;#34;&amp;#39;&amp;#41;.rstrip&amp;#40;&amp;#39;&amp;#34;&amp;#39;&amp;#41; against each string but it&amp;#39;s rather annoying, and seems like a bug.&lt;br /&gt;&lt;br /&gt;Example of a response string from my server &amp;#40;Python, simplejson, if it matters&amp;#41;&amp;#58;&lt;br /&gt;&amp;#123;&amp;#34;status_code&amp;#34;&amp;#58; 200, &amp;#34;status_message&amp;#34;&amp;#58; &amp;#34;Login OK.&amp;#34;, &amp;#34;data_type&amp;#34;&amp;#58; &amp;#34;LOGIN&amp;#34;, &amp;#34;data&amp;#34;&amp;#58; &amp;#123;&amp;#34;user_id&amp;#34;&amp;#58; 1, &amp;#34;session_id&amp;#34;&amp;#58; &amp;#34;a4a58718f5cde2561f362e315f08d116&amp;#34;&amp;#125;&amp;#125;&lt;br /&gt;&lt;br /&gt;I run&amp;#58;&lt;br /&gt;&lt;br /&gt;   json_obj &amp;#61; JsonObject.Parse&amp;#40;responseString&amp;#41;&lt;br /&gt;   print &amp;#34;Parsed Json&amp;#58; &amp;#37;s&amp;#34; &amp;#37; json_obj&lt;br /&gt;&lt;br /&gt;The ToString on the json_obj prints &amp;#34;correctly&amp;#34; - no extra quotes.&lt;br /&gt;&lt;br /&gt;However&amp;#58;&lt;br /&gt;&lt;br /&gt;json_obj&amp;#91;&amp;#39;data_type&amp;#39;&amp;#93;.ToString&amp;#40;&amp;#41; or json_obj&amp;#91;&amp;#39;data_type&amp;#39;&amp;#93; &amp;#40;The value itself being a JsonPrimitive of JsonType &amp;#39;String&amp;#39;&amp;#41;, always print out, etc. as&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#39;&amp;#34;LOGIN&amp;#34;&amp;#39; &lt;br /&gt;&lt;br /&gt;This seems like it MAY be a agDLR issue, but I&amp;#39;m unsure.&lt;br /&gt;Comments: ** Comment from web user: bwmcadams ** &lt;p&gt;Thanks, this is a huge help.&lt;br /&gt;Decode works great, but encode is throwing errors for me in all cases.  I tried a few of the samples from simplejsons&amp;#39; docs as well and same problems&amp;#58;&lt;/p&gt;&lt;p&gt; &lt;br /&gt;simplejson.dumps&amp;#40;&amp;#91;&amp;#39;foo&amp;#39;, &amp;#123;&amp;#39;bar&amp;#39;&amp;#58; &amp;#40;&amp;#39;baz&amp;#39;, None, 1.0, 2&amp;#41;&amp;#125;&amp;#93;&amp;#41;&lt;br /&gt;System.ArgumentNullException&amp;#58; Value cannot be null.&lt;br /&gt;Parameter name&amp;#58; method&lt;br /&gt;  at &amp;#60;module&amp;#62; in &amp;#60;string&amp;#62;, line 0&lt;br /&gt;  at iterencode in stdlib&amp;#47;simplejson&amp;#47;encoder.py, line 252&lt;br /&gt;  at encode in stdlib&amp;#47;simplejson&amp;#47;encoder.py, line 197&lt;br /&gt;  at dumps in stdlib&amp;#47;simplejson&amp;#47;__init__.py, line 228&lt;br /&gt;  at &amp;#60;module&amp;#62; in &amp;#60;string&amp;#62;, line 0&lt;br /&gt;&amp;#61;&amp;#62; None&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Any thoughts&amp;#63;&lt;/p&gt;</description><author>bwmcadams</author><pubDate>Mon, 13 Apr 2009 15:10:20 GMT</pubDate><guid isPermaLink="false">Commented Issue: Possible parsing issue with JSON (IronPython + System.Net.Json) 20090413031020P</guid></item><item><title>Commented Issue: Possible parsing issue with JSON (IronPython + System.Net.Json)</title><link>http://dynamicsilverlight.codeplex.com/WorkItem/View.aspx?WorkItemId=12906</link><description>I am running into a reproducible and mildly annoying problem, which I can&amp;#39;t find any other references to online and assume it&amp;#39;s a translation issue b&amp;#47;w the agDLR and Silverlight itself.&lt;br /&gt;&lt;br /&gt;When parsing a JSON String via JsonArray or JsonObject &amp;#40;.Parse, but also attempted converting to a MemoryStream and running &amp;#39;Load&amp;#39;&amp;#41; I am getting &amp;#34;extra&amp;#34; quotes &amp;#40;Double quote - &amp;#34;&amp;#41; embedded in any Strings &amp;#40;JsonPrimitive, JsonType &amp;#39;String&amp;#39;&amp;#41;.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve tried a bunch of different things.  Out of curiosity, if I change all double-quotes in the response string to single quotes, it still parses, and still includes &amp;#34;extra&amp;#34; double quotes inside.  I am running lstrip&amp;#40;&amp;#39;&amp;#34;&amp;#39;&amp;#41;.rstrip&amp;#40;&amp;#39;&amp;#34;&amp;#39;&amp;#41; against each string but it&amp;#39;s rather annoying, and seems like a bug.&lt;br /&gt;&lt;br /&gt;Example of a response string from my server &amp;#40;Python, simplejson, if it matters&amp;#41;&amp;#58;&lt;br /&gt;&amp;#123;&amp;#34;status_code&amp;#34;&amp;#58; 200, &amp;#34;status_message&amp;#34;&amp;#58; &amp;#34;Login OK.&amp;#34;, &amp;#34;data_type&amp;#34;&amp;#58; &amp;#34;LOGIN&amp;#34;, &amp;#34;data&amp;#34;&amp;#58; &amp;#123;&amp;#34;user_id&amp;#34;&amp;#58; 1, &amp;#34;session_id&amp;#34;&amp;#58; &amp;#34;a4a58718f5cde2561f362e315f08d116&amp;#34;&amp;#125;&amp;#125;&lt;br /&gt;&lt;br /&gt;I run&amp;#58;&lt;br /&gt;&lt;br /&gt;   json_obj &amp;#61; JsonObject.Parse&amp;#40;responseString&amp;#41;&lt;br /&gt;   print &amp;#34;Parsed Json&amp;#58; &amp;#37;s&amp;#34; &amp;#37; json_obj&lt;br /&gt;&lt;br /&gt;The ToString on the json_obj prints &amp;#34;correctly&amp;#34; - no extra quotes.&lt;br /&gt;&lt;br /&gt;However&amp;#58;&lt;br /&gt;&lt;br /&gt;json_obj&amp;#91;&amp;#39;data_type&amp;#39;&amp;#93;.ToString&amp;#40;&amp;#41; or json_obj&amp;#91;&amp;#39;data_type&amp;#39;&amp;#93; &amp;#40;The value itself being a JsonPrimitive of JsonType &amp;#39;String&amp;#39;&amp;#41;, always print out, etc. as&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#39;&amp;#34;LOGIN&amp;#34;&amp;#39; &lt;br /&gt;&lt;br /&gt;This seems like it MAY be a agDLR issue, but I&amp;#39;m unsure.&lt;br /&gt;Comments: ** Comment from web user: spassig ** &lt;p&gt;We have all kind of problems using the .NET JSON parser. Apart from those double quotes we ran into different conversion problems with all the .NET primitives types. If you just want to convert JSON to simple python arrays and dictionarys I would succest that you use simplejson &amp;#40;as we did&amp;#41;. I attached a slightly modified version of simplejson &amp;#40;Version 2.0.7&amp;#41; &amp;#40;you also need the struct Modul&amp;#41; that works fine in our project. Simply copy the &amp;#34;stdlib&amp;#34; folder in your python folder of the chiron project, add a &amp;#34;sys.path.append&amp;#40;&amp;#34;stdlib&amp;#34;&amp;#41;&amp;#34; in your application and you can use simplejson.&lt;br /&gt;&lt;/p&gt;</description><author>spassig</author><pubDate>Wed, 01 Apr 2009 13:26:59 GMT</pubDate><guid isPermaLink="false">Commented Issue: Possible parsing issue with JSON (IronPython + System.Net.Json) 20090401012659P</guid></item><item><title>Created Issue: Possible parsing issue with JSON (IronPython + System.Net.Json)</title><link>http://dynamicsilverlight.codeplex.com/WorkItem/View.aspx?WorkItemId=12906</link><description>I am running into a reproducible and mildly annoying problem, which I can&amp;#39;t find any other references to online and assume it&amp;#39;s a translation issue b&amp;#47;w the agDLR and Silverlight itself.&lt;br /&gt;&lt;br /&gt;When parsing a JSON String via JsonArray or JsonObject &amp;#40;.Parse, but also attempted converting to a MemoryStream and running &amp;#39;Load&amp;#39;&amp;#41; I am getting &amp;#34;extra&amp;#34; quotes &amp;#40;Double quote - &amp;#34;&amp;#41; embedded in any Strings &amp;#40;JsonPrimitive, JsonType &amp;#39;String&amp;#39;&amp;#41;.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve tried a bunch of different things.  Out of curiosity, if I change all double-quotes in the response string to single quotes, it still parses, and still includes &amp;#34;extra&amp;#34; double quotes inside.  I am running lstrip&amp;#40;&amp;#39;&amp;#34;&amp;#39;&amp;#41;.rstrip&amp;#40;&amp;#39;&amp;#34;&amp;#39;&amp;#41; against each string but it&amp;#39;s rather annoying, and seems like a bug.&lt;br /&gt;&lt;br /&gt;Example of a response string from my server &amp;#40;Python, simplejson, if it matters&amp;#41;&amp;#58;&lt;br /&gt;&amp;#123;&amp;#34;status_code&amp;#34;&amp;#58; 200, &amp;#34;status_message&amp;#34;&amp;#58; &amp;#34;Login OK.&amp;#34;, &amp;#34;data_type&amp;#34;&amp;#58; &amp;#34;LOGIN&amp;#34;, &amp;#34;data&amp;#34;&amp;#58; &amp;#123;&amp;#34;user_id&amp;#34;&amp;#58; 1, &amp;#34;session_id&amp;#34;&amp;#58; &amp;#34;a4a58718f5cde2561f362e315f08d116&amp;#34;&amp;#125;&amp;#125;&lt;br /&gt;&lt;br /&gt;I run&amp;#58;&lt;br /&gt;&lt;br /&gt;   json_obj &amp;#61; JsonObject.Parse&amp;#40;responseString&amp;#41;&lt;br /&gt;   print &amp;#34;Parsed Json&amp;#58; &amp;#37;s&amp;#34; &amp;#37; json_obj&lt;br /&gt;&lt;br /&gt;The ToString on the json_obj prints &amp;#34;correctly&amp;#34; - no extra quotes.&lt;br /&gt;&lt;br /&gt;However&amp;#58;&lt;br /&gt;&lt;br /&gt;json_obj&amp;#91;&amp;#39;data_type&amp;#39;&amp;#93;.ToString&amp;#40;&amp;#41; or json_obj&amp;#91;&amp;#39;data_type&amp;#39;&amp;#93; &amp;#40;The value itself being a JsonPrimitive of JsonType &amp;#39;String&amp;#39;&amp;#41;, always print out, etc. as&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#39;&amp;#34;LOGIN&amp;#34;&amp;#39; &lt;br /&gt;&lt;br /&gt;This seems like it MAY be a agDLR issue, but I&amp;#39;m unsure.&lt;br /&gt;</description><author>bwmcadams</author><pubDate>Sun, 29 Mar 2009 21:32:19 GMT</pubDate><guid isPermaLink="false">Created Issue: Possible parsing issue with JSON (IronPython + System.Net.Json) 20090329093219P</guid></item><item><title>Created Issue: Chiron should handle Ctrl-Cs gracefully</title><link>http://dynamicsilverlight.codeplex.com/WorkItem/View.aspx?WorkItemId=12885</link><description>When you Ctrl-C a chiron process, it always emits a non-zero exit code.  Unless there&amp;#39;s some clean way to shutdown Chiron I&amp;#39;m unaware of, this signal needs to be caught by chiron &amp;#40;http&amp;#58;&amp;#47;&amp;#47;www.hanselman.com&amp;#47;blog&amp;#47;MoreTipsFromSairamaCatchingCtrlCFromANETConsoleApplication.aspx shows how this is possible in .NET&amp;#41; and chiron.exe should emit a zero exit code.&lt;br /&gt;&lt;br /&gt;C&amp;#58;&amp;#92;vsl-ip26&amp;#92;Merlin&amp;#92;Main&amp;#92;Languages&amp;#92;IronPython&amp;#92;Tests&amp;#92;silverlight_sanity&amp;#62;&amp;#34;C&amp;#58;&amp;#92;Program Files&amp;#92;IronPython 2.6&amp;#92;Silverlight&amp;#92;bin&amp;#92;Chiron.exe&amp;#34; &amp;#47;w&lt;br /&gt;Microsoft&amp;#40;R&amp;#41; Silverlight&amp;#40;TM&amp;#41; Development Utility. Version 1.0.0.0&lt;br /&gt;Copyright &amp;#40;c&amp;#41; Microsoft Corporation.  All rights reserved.&lt;br /&gt;&lt;br /&gt;Chiron serving &amp;#39;C&amp;#58;&amp;#92;vsl-ip26&amp;#92;Merlin&amp;#92;Main&amp;#92;Languages&amp;#92;IronPython&amp;#92;Tests&amp;#92;silverlight_sanity&amp;#39; as http&amp;#58;&amp;#47;&amp;#47;localhost&amp;#58;2060&amp;#47;&lt;br /&gt;&amp;#94;C&lt;br /&gt;C&amp;#58;&amp;#92;vsl-ip26&amp;#92;Merlin&amp;#92;Main&amp;#92;Languages&amp;#92;IronPython&amp;#92;Tests&amp;#92;silverlight_sanity&amp;#62;echo &amp;#37;ERRORLEVEL&amp;#37;&lt;br /&gt;-1073741510&lt;br /&gt;</description><author>dfugate</author><pubDate>Thu, 26 Mar 2009 19:26:28 GMT</pubDate><guid isPermaLink="false">Created Issue: Chiron should handle Ctrl-Cs gracefully 20090326072628P</guid></item><item><title>Commented Issue: Configuration.LoadFromAssemblies fails on signed assemblies</title><link>http://www.codeplex.com/dynamicsilverlight/WorkItem/View.aspx?WorkItemId=12619</link><description>From&amp;#58; Martin Calsyn &lt;br /&gt;Sent&amp;#58; Saturday, February 14, 2009 6&amp;#58;22 AM&lt;br /&gt;To&amp;#58; DLR Discussion&lt;br /&gt;Subject&amp;#58; Silverlight&amp;#43;antlr&amp;#43;DLR - Configuration.LoadFromAssemblies fails&lt;br /&gt;&lt;br /&gt;I have what I fear may be a fairly basic problem with signing&amp;#47;security or packaging, but the resolution is evading me.&lt;br /&gt;&lt;br /&gt;We have created a DLR language using Antlr and the DLR 2.0 and want to run it within a Silverlight control.  Everything works fine when we link with WPF and run on the desktop, but we are getting assembly-load errors when launching from within Silverlight.  &lt;br /&gt;&lt;br /&gt;Specifically our test app &amp;#40;CVTWebTest&amp;#41;, silverlight control &amp;#40;CVTWebControl&amp;#41;, language &amp;#40;CVTLanguage&amp;#41; and Antlr DLL &amp;#40;Antlr3.runtime.dll&amp;#41; fail to load with FileNotFound exceptions.  That&amp;#8217;s odd because the line throwing the code is in CVTWebControl, which was obviously loaded at least once or we wouldn&amp;#8217;t be running, but which fails a subsequent dynamic load.  The errors are all thrown by the highlighted statement&amp;#58;&lt;br /&gt;&lt;br /&gt;namespace CVTWebControl&lt;br /&gt;&amp;#123;&lt;br /&gt;    public class CVTControl&lt;br /&gt;    &amp;#123;&lt;br /&gt;        public CVTControl&amp;#40; &amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            ScriptRuntimeSetup srs &amp;#61; Configuration.LoadFromAssemblies&amp;#40; Package.GetManifestAssemblies&amp;#40; &amp;#41; &amp;#41;&amp;#59;&lt;br /&gt;            srs.HostType &amp;#61; typeof&amp;#40; BrowserScriptHost &amp;#41;&amp;#59;&lt;br /&gt;            ScriptRuntime runtime &amp;#61; new ScriptRuntime&amp;#40; srs &amp;#41;&amp;#59;&lt;br /&gt;            ScriptEngine cvtEng &amp;#61; runtime.GetEngine&amp;#40; &amp;#34;CVTLanguage&amp;#34; &amp;#41;&amp;#59;&lt;br /&gt;            ScriptSource source &amp;#61; cvtEng.CreateScriptSourceFromString&amp;#40; &amp;#34;render&amp;#40;&amp;#41;&amp;#123;&amp;#125;&amp;#34;, SourceCodeKind.Statements &amp;#41;&amp;#59;&lt;br /&gt;            ScriptScope scope &amp;#61; cvtEng.CreateScope&amp;#40; &amp;#41;&amp;#59;&lt;br /&gt;            Object ob &amp;#61; source.Execute&amp;#40; scope &amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;The first-chance exception for each of the files I named above is &amp;#58;&lt;br /&gt;&lt;br /&gt;System.IO.FileNotFoundException occurred&lt;br /&gt;  Message&amp;#61;&amp;#34;Could not load file or assembly &amp;#39;CVTWebTest, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;null&amp;#39; or one of its dependencies. The system cannot find the file specified.&amp;#34;&lt;br /&gt;  StackTrace&amp;#58;&lt;br /&gt;       at System.Reflection.Assembly._nLoad&amp;#40;AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp;#38; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection&amp;#41;&lt;br /&gt;       at System.Reflection.Assembly.nLoad&amp;#40;AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp;#38; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection&amp;#41;&lt;br /&gt;&lt;br /&gt;Since our language dll fails to load for inspection, our language is not found and the rest of initialization fails.&lt;br /&gt;&lt;br /&gt;All of the failing assemblies are strong-named and all of the assemblies and their dependencies appear in the xap.  My working theory has been that my signing key or these assemblies are not trusted in some essential way, but I have not been able to noodle out the solution.&lt;br /&gt;&lt;br /&gt;It may be interesting to note that if we recompile any of the Microsoft.Scripting dlls from source and signed with our snk, they too then fail to load, which is what is leading me to suspect signing&amp;#47;trust issues.&lt;br /&gt;&lt;br /&gt;Any suggestions would be deeply appreciated.&lt;br /&gt;Comments: ** Comment from web user: jimmysch ** &lt;p&gt;From&amp;#58; John Messerly &lt;br /&gt;Sent&amp;#58; Monday, February 16, 2009 1&amp;#58;22 PM&lt;br /&gt;To&amp;#58; Martin Calsyn&amp;#59; Jimmy Schementi&lt;br /&gt;Subject&amp;#58; RE&amp;#58; Silverlight&amp;#43;antlr&amp;#43;DLR - Configuration.LoadFromAssemblies fails&lt;/p&gt;&lt;p&gt;Awesome, glad it&amp;#8217;s working &amp;#61514;.&lt;/p&gt;&lt;p&gt;It might be an intentional limitation of Package.GetManifestAssemblies that it can&amp;#8217;t handle signed assemblies. It doesn&amp;#8217;t seem like a very useful API though, given that limitation. I&amp;#8217;m wondering if maybe it should call &amp;#8220;LoadAssemblyFromPath&amp;#8221; which would load the assemblies from the XAP. But that might be too slow if the DLL is already loaded &amp;#40;it would have to decompress it again, only for the CLR to discover it&amp;#8217;s actually the same assembly&amp;#41;.&lt;/p&gt;&lt;p&gt;In any case, I think you can use the more advanced &amp;#8220;Configuration.TryParseFile&amp;#8221; method which looks for a &amp;#8220;languages.config&amp;#8221; in the root of the XAP file. Offhand I don&amp;#8217;t remember the format, but maybe one of the samples has it. That is the &amp;#8220;more powerful&amp;#8221; way of configuring the DLR, should allow you to specify the fully qualified assembly names.&lt;/p&gt;&lt;p&gt;- John&lt;/p&gt;&lt;p&gt;From&amp;#58; Martin Calsyn &lt;br /&gt;Sent&amp;#58; Monday, February 16, 2009 12&amp;#58;37 PM&lt;br /&gt;To&amp;#58; John Messerly&amp;#59; Jimmy Schementi&lt;br /&gt;Subject&amp;#58; RE&amp;#58; Silverlight&amp;#43;antlr&amp;#43;DLR - Configuration.LoadFromAssemblies fails&lt;/p&gt;&lt;p&gt;fyi - frobbing the signing didn&amp;#39;t help anything, however implementing the LoadMyAssemblies iterator returning just the dll that contains our language seems to have gotten things working.  I&amp;#39;ve verified that it is calling our lexer, parser and generators.&lt;/p&gt;&lt;p&gt;Thanks much for your help, though I would still be interested in knowing whether this is a bug or whether we were just applying the pattern incorrectly.  Let me know if I can help with any diagnostics and I will happily do so.&lt;/p&gt;&lt;p&gt;--Martin&lt;/p&gt;&lt;p&gt;From&amp;#58; Martin Calsyn &lt;br /&gt;Sent&amp;#58; 16 February 2009 20&amp;#58;01&lt;br /&gt;To&amp;#58; John Messerly&amp;#59; Jimmy Schementi&lt;br /&gt;Subject&amp;#58; RE&amp;#58; Silverlight&amp;#43;antlr&amp;#43;DLR - Configuration.LoadFromAssemblies fails&lt;/p&gt;&lt;p&gt;Thanks - no, I had not gotten any response so far.&lt;/p&gt;&lt;p&gt;Your theory here could explain why my compiled versions of Microsoft.Scripting dlls also fail, but the production ones do not - my versions were signed &amp;#40;simply because I presumed that they must HAVE to be signed as oppose to &amp;#39;must not be&amp;#39;&amp;#41; as are all of my CVT&amp;#42;dll assemblies.&lt;/p&gt;&lt;p&gt;The line you indicate, is in fact where things go south for us.  I will try your suggestion and reply with the results&lt;/p&gt;&lt;p&gt;Thanks,&lt;br /&gt;--Martin&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><author>jimmysch</author><pubDate>Mon, 16 Feb 2009 22:09:58 GMT</pubDate><guid isPermaLink="false">Commented Issue: Configuration.LoadFromAssemblies fails on signed assemblies 20090216100958P</guid></item><item><title>Commented Issue: Configuration.LoadFromAssemblies fails on signed assemblies</title><link>http://www.codeplex.com/dynamicsilverlight/WorkItem/View.aspx?WorkItemId=12619</link><description>From&amp;#58; Martin Calsyn &lt;br /&gt;Sent&amp;#58; Saturday, February 14, 2009 6&amp;#58;22 AM&lt;br /&gt;To&amp;#58; DLR Discussion&lt;br /&gt;Subject&amp;#58; Silverlight&amp;#43;antlr&amp;#43;DLR - Configuration.LoadFromAssemblies fails&lt;br /&gt;&lt;br /&gt;I have what I fear may be a fairly basic problem with signing&amp;#47;security or packaging, but the resolution is evading me.&lt;br /&gt;&lt;br /&gt;We have created a DLR language using Antlr and the DLR 2.0 and want to run it within a Silverlight control.  Everything works fine when we link with WPF and run on the desktop, but we are getting assembly-load errors when launching from within Silverlight.  &lt;br /&gt;&lt;br /&gt;Specifically our test app &amp;#40;CVTWebTest&amp;#41;, silverlight control &amp;#40;CVTWebControl&amp;#41;, language &amp;#40;CVTLanguage&amp;#41; and Antlr DLL &amp;#40;Antlr3.runtime.dll&amp;#41; fail to load with FileNotFound exceptions.  That&amp;#8217;s odd because the line throwing the code is in CVTWebControl, which was obviously loaded at least once or we wouldn&amp;#8217;t be running, but which fails a subsequent dynamic load.  The errors are all thrown by the highlighted statement&amp;#58;&lt;br /&gt;&lt;br /&gt;namespace CVTWebControl&lt;br /&gt;&amp;#123;&lt;br /&gt;    public class CVTControl&lt;br /&gt;    &amp;#123;&lt;br /&gt;        public CVTControl&amp;#40; &amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            ScriptRuntimeSetup srs &amp;#61; Configuration.LoadFromAssemblies&amp;#40; Package.GetManifestAssemblies&amp;#40; &amp;#41; &amp;#41;&amp;#59;&lt;br /&gt;            srs.HostType &amp;#61; typeof&amp;#40; BrowserScriptHost &amp;#41;&amp;#59;&lt;br /&gt;            ScriptRuntime runtime &amp;#61; new ScriptRuntime&amp;#40; srs &amp;#41;&amp;#59;&lt;br /&gt;            ScriptEngine cvtEng &amp;#61; runtime.GetEngine&amp;#40; &amp;#34;CVTLanguage&amp;#34; &amp;#41;&amp;#59;&lt;br /&gt;            ScriptSource source &amp;#61; cvtEng.CreateScriptSourceFromString&amp;#40; &amp;#34;render&amp;#40;&amp;#41;&amp;#123;&amp;#125;&amp;#34;, SourceCodeKind.Statements &amp;#41;&amp;#59;&lt;br /&gt;            ScriptScope scope &amp;#61; cvtEng.CreateScope&amp;#40; &amp;#41;&amp;#59;&lt;br /&gt;            Object ob &amp;#61; source.Execute&amp;#40; scope &amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;The first-chance exception for each of the files I named above is &amp;#58;&lt;br /&gt;&lt;br /&gt;System.IO.FileNotFoundException occurred&lt;br /&gt;  Message&amp;#61;&amp;#34;Could not load file or assembly &amp;#39;CVTWebTest, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;null&amp;#39; or one of its dependencies. The system cannot find the file specified.&amp;#34;&lt;br /&gt;  StackTrace&amp;#58;&lt;br /&gt;       at System.Reflection.Assembly._nLoad&amp;#40;AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp;#38; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection&amp;#41;&lt;br /&gt;       at System.Reflection.Assembly.nLoad&amp;#40;AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp;#38; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection&amp;#41;&lt;br /&gt;&lt;br /&gt;Since our language dll fails to load for inspection, our language is not found and the rest of initialization fails.&lt;br /&gt;&lt;br /&gt;All of the failing assemblies are strong-named and all of the assemblies and their dependencies appear in the xap.  My working theory has been that my signing key or these assemblies are not trusted in some essential way, but I have not been able to noodle out the solution.&lt;br /&gt;&lt;br /&gt;It may be interesting to note that if we recompile any of the Microsoft.Scripting dlls from source and signed with our snk, they too then fail to load, which is what is leading me to suspect signing&amp;#47;trust issues.&lt;br /&gt;&lt;br /&gt;Any suggestions would be deeply appreciated.&lt;br /&gt;Comments: ** Comment from web user: jimmysch ** &lt;p&gt;From&amp;#58; John Messerly &lt;br /&gt;Sent&amp;#58; 16 February 2009 19&amp;#58;52&lt;br /&gt;To&amp;#58; Martin Calsyn&amp;#59; Jimmy Schementi&lt;br /&gt;Subject&amp;#58; RE&amp;#58; Silverlight&amp;#43;antlr&amp;#43;DLR - Configuration.LoadFromAssemblies fails&lt;/p&gt;&lt;p&gt;Did Jimmy answered this already&amp;#63; He&amp;#8217;s our resident expert, but it sounds to me like it might be a bug in the DLR.&lt;/p&gt;&lt;p&gt;You mention signing, but it appears to be trying to load CVTWebTest without a key &amp;#40;&amp;#8220;PublicKeyToken&amp;#61;null&amp;#8221;&amp;#41;. Is the DLL actually signed&amp;#63; If so, the bug might be here in Microsoft.Scripting.Silverlight&amp;#58;&lt;br /&gt;                    result.Add&amp;#40;BrowserPAL.PAL.LoadAssembly&amp;#40;Path.GetFileNameWithoutExtension&amp;#40;part.Source&amp;#41;&amp;#41;&amp;#41;&amp;#59;&lt;/p&gt;&lt;p&gt;It doesn&amp;#8217;t appear to allow signed DLLs.&lt;/p&gt;&lt;p&gt;What you might be able to do is remove the call to Package.GetManifestAssemblies, and instead load the assemblies yourself using the fully qualified name&amp;#58;&lt;/p&gt;&lt;p&gt;internal static IEnumerable&amp;#60;Assembly&amp;#62; LoadMyAssemblies&amp;#40;&amp;#41; &amp;#123;&lt;br /&gt;                &amp;#47;&amp;#47; you could hardcode string names here too&amp;#58;&lt;br /&gt;                yield return Assembly.Load&amp;#40;typeof&amp;#40;MyTypeFromDll1&amp;#41;.Assembly.FullName&amp;#41;&amp;#59;&lt;br /&gt;                yield return Assembly.Load&amp;#40;typeof&amp;#40;MyTypeFromDll2&amp;#41;.Assembly.FullName&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;/p&gt;&lt;p&gt;Hope that helps,&lt;br /&gt;- John&lt;/p&gt;</description><author>jimmysch</author><pubDate>Mon, 16 Feb 2009 22:09:32 GMT</pubDate><guid isPermaLink="false">Commented Issue: Configuration.LoadFromAssemblies fails on signed assemblies 20090216100932P</guid></item><item><title>Created Issue: Configuration.LoadFromAssemblies fails on signed assemblies</title><link>http://www.codeplex.com/dynamicsilverlight/WorkItem/View.aspx?WorkItemId=12619</link><description>From&amp;#58; Martin Calsyn &lt;br /&gt;Sent&amp;#58; Saturday, February 14, 2009 6&amp;#58;22 AM&lt;br /&gt;To&amp;#58; DLR Discussion&lt;br /&gt;Subject&amp;#58; Silverlight&amp;#43;antlr&amp;#43;DLR - Configuration.LoadFromAssemblies fails&lt;br /&gt;&lt;br /&gt;I have what I fear may be a fairly basic problem with signing&amp;#47;security or packaging, but the resolution is evading me.&lt;br /&gt;&lt;br /&gt;We have created a DLR language using Antlr and the DLR 2.0 and want to run it within a Silverlight control.  Everything works fine when we link with WPF and run on the desktop, but we are getting assembly-load errors when launching from within Silverlight.  &lt;br /&gt;&lt;br /&gt;Specifically our test app &amp;#40;CVTWebTest&amp;#41;, silverlight control &amp;#40;CVTWebControl&amp;#41;, language &amp;#40;CVTLanguage&amp;#41; and Antlr DLL &amp;#40;Antlr3.runtime.dll&amp;#41; fail to load with FileNotFound exceptions.  That&amp;#8217;s odd because the line throwing the code is in CVTWebControl, which was obviously loaded at least once or we wouldn&amp;#8217;t be running, but which fails a subsequent dynamic load.  The errors are all thrown by the highlighted statement&amp;#58;&lt;br /&gt;&lt;br /&gt;namespace CVTWebControl&lt;br /&gt;&amp;#123;&lt;br /&gt;    public class CVTControl&lt;br /&gt;    &amp;#123;&lt;br /&gt;        public CVTControl&amp;#40; &amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            ScriptRuntimeSetup srs &amp;#61; Configuration.LoadFromAssemblies&amp;#40; Package.GetManifestAssemblies&amp;#40; &amp;#41; &amp;#41;&amp;#59;&lt;br /&gt;            srs.HostType &amp;#61; typeof&amp;#40; BrowserScriptHost &amp;#41;&amp;#59;&lt;br /&gt;            ScriptRuntime runtime &amp;#61; new ScriptRuntime&amp;#40; srs &amp;#41;&amp;#59;&lt;br /&gt;            ScriptEngine cvtEng &amp;#61; runtime.GetEngine&amp;#40; &amp;#34;CVTLanguage&amp;#34; &amp;#41;&amp;#59;&lt;br /&gt;            ScriptSource source &amp;#61; cvtEng.CreateScriptSourceFromString&amp;#40; &amp;#34;render&amp;#40;&amp;#41;&amp;#123;&amp;#125;&amp;#34;, SourceCodeKind.Statements &amp;#41;&amp;#59;&lt;br /&gt;            ScriptScope scope &amp;#61; cvtEng.CreateScope&amp;#40; &amp;#41;&amp;#59;&lt;br /&gt;            Object ob &amp;#61; source.Execute&amp;#40; scope &amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;The first-chance exception for each of the files I named above is &amp;#58;&lt;br /&gt;&lt;br /&gt;System.IO.FileNotFoundException occurred&lt;br /&gt;  Message&amp;#61;&amp;#34;Could not load file or assembly &amp;#39;CVTWebTest, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;null&amp;#39; or one of its dependencies. The system cannot find the file specified.&amp;#34;&lt;br /&gt;  StackTrace&amp;#58;&lt;br /&gt;       at System.Reflection.Assembly._nLoad&amp;#40;AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp;#38; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection&amp;#41;&lt;br /&gt;       at System.Reflection.Assembly.nLoad&amp;#40;AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp;#38; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection&amp;#41;&lt;br /&gt;&lt;br /&gt;Since our language dll fails to load for inspection, our language is not found and the rest of initialization fails.&lt;br /&gt;&lt;br /&gt;All of the failing assemblies are strong-named and all of the assemblies and their dependencies appear in the xap.  My working theory has been that my signing key or these assemblies are not trusted in some essential way, but I have not been able to noodle out the solution.&lt;br /&gt;&lt;br /&gt;It may be interesting to note that if we recompile any of the Microsoft.Scripting dlls from source and signed with our snk, they too then fail to load, which is what is leading me to suspect signing&amp;#47;trust issues.&lt;br /&gt;&lt;br /&gt;Any suggestions would be deeply appreciated.&lt;br /&gt;</description><author>jimmysch</author><pubDate>Mon, 16 Feb 2009 22:08:34 GMT</pubDate><guid isPermaLink="false">Created Issue: Configuration.LoadFromAssemblies fails on signed assemblies 20090216100834P</guid></item><item><title>Created Issue: Hiding asynchronous behavior</title><link>http://www.codeplex.com/dynamicsilverlight/WorkItem/View.aspx?WorkItemId=12543</link><description>Lambdas are definitely a way to make the programming model nicer. C&amp;#35; should make async property setting less painful, but I bet I could completely hide the async in Ruby ...&lt;br /&gt;&lt;br /&gt;Brush.class_eval do &lt;br /&gt;  alias &amp;#34;actual_image&amp;#61;&amp;#34; &amp;#34;image&amp;#61;&amp;#34;&lt;br /&gt;  def image&amp;#61;&amp;#40;url&amp;#41;&lt;br /&gt;    download&amp;#40;url&amp;#41; &amp;#123; &amp;#124;content&amp;#124; actual_image &amp;#61; content &amp;#125;&lt;br /&gt;  end&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;&amp;#35; then you could do ...&lt;br /&gt;&lt;br /&gt;brush.image &amp;#61; &amp;#34;http&amp;#58;&amp;#47;&amp;#47;...&amp;#34;&lt;br /&gt;&lt;br /&gt;Of course this wouldn&amp;#39;t work since the &amp;#34;content&amp;#34; would have to be converted to whatever &amp;#34;brush.image&amp;#34; expects, and everything between &amp;#34;&amp;#123;&amp;#125;&amp;#34; would actually be invoked on a different thread, so I&amp;#39;d have to put some locks in there since there&amp;#39;s no guarantee &amp;#34;brush.image &amp;#61; foo&amp;#34; is thread-safe ... but you get the picture &amp;#59;&amp;#41;&lt;br /&gt;&lt;br /&gt;What&amp;#39;s funnier is that there&amp;#39;s one big synchronous operation in Silverlight that can still hang the UI thread&amp;#58; jitting. DLRConsole hangs the browser for like 10 seconds before starting up. I&amp;#39;d love it if Moonlight would JIT on a background thread. &amp;#61;&amp;#41; I&amp;#39;m trying to get the Silverlight guys to make that change, but no commitment yet. And you can still do synchronous downloading by using the HtmlBridge to get to the XmlHttpRequest object. &lt;br /&gt;&lt;br /&gt;The only reason the limitation is there is because current browsers run &amp;#60;object&amp;#62; controls on the UI thread. Chrome is actually the best Silverlight browser IMO because it runs each &amp;#60;object&amp;#62; control in a different process, so any blocking calls won&amp;#39;t hang the browser UI. &amp;#61;P Hopefully future browsers can adopt this behavior, then the need for async-only would go out the window.&lt;br /&gt;&lt;br /&gt;&amp;#62;     What I figured could be done is that Silverlight could continue to&lt;br /&gt;&amp;#62; enforce a policy of no-asynchronous operations, like expecting&amp;#58;&lt;br /&gt;&amp;#62; &lt;br /&gt;&amp;#62;         brush.Image &amp;#61; &amp;#34;http&amp;#58;&amp;#47;&amp;#47;...&amp;#34;&lt;br /&gt;&amp;#62; &lt;br /&gt;&amp;#62;     To work, but instead in those situations to always require that the&lt;br /&gt;&amp;#62; file is downloaded asynchronously and to force the developer to set any&lt;br /&gt;&amp;#62; properties in a callback, like&amp;#58;&lt;br /&gt;&amp;#62; &lt;br /&gt;&amp;#62;         Download.Fetch &amp;#40;&amp;#34;http&amp;#58;&amp;#47;&amp;#47;...&amp;#34;, x &amp;#61;&amp;#62; MyBrush.Image &amp;#61; x&amp;#41;&amp;#59;&lt;br /&gt;</description><author>jimmysch</author><pubDate>Thu, 05 Feb 2009 00:32:41 GMT</pubDate><guid isPermaLink="false">Created Issue: Hiding asynchronous behavior 20090205123241A</guid></item></channel></rss>