<html><head><style type="text/css" media="screen">Body{font-family: Verdana;font-size:.75em;}h4{font-size:.9em;}a{color: #3a62a6;}.digest .toc {margin-bottom: 15px; padding-bottom:8px; border-bottom: 1px solid #ccc;}.digest .tocItem {margin-bottom: 15px;}.tocItem a{color:#000;text-decoration: none;}.tocItem a:hover{color: #3a62a6;text-decoration: underline;}.topic{padding-bottom: 8px;margin-bottom: 20px; border-bottom: 1px solid #ccc;}.topicHeader{margin-bottom:10px;}.topicTitle{font-weight: bold;}.replies p{margin:0;padding:0;}.replies hr{width: 15%;text-align: left;margin: 0 auto 5px 0;border: none 0;border-top: 1px solid #ccc;height: 1px;}.reply{margin-bottom: 6px;padding-bottom: 4px;}.anchorMarker{color: #3a62a6;}.footer{color: gray;}</style></head><body><div class="digest"><p>Hi ironpython,</p><p>Here's your Daily Digest of new issues for project "<a href="http://ironpython.codeplex.com/">IronPython</a>".</p><p>In today's digest:</p><h4>ISSUES</h4><div class="toc"><div class="tocItem"><a href="#toc_issue_1">1. <span class="tocTitle">[New issue] Better handling of binding failure due to .Net version</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div></div><h4>ISSUES</h4><div class="topic"><a name="toc_issue_1"></a><div class="topicHeader"><span class="topicTitle">1. [New issue] Better handling of binding failure due to .Net version</span> <a href="http://ironpython.codeplex.com/workitem/31383">view online</a></div><p>User skottmckay has proposed the issue:</p><p>"The error message if binding of an assembly fails &#40;clr.AddReference et al&#41; is woefully unhelpful if the failure is due to attempting to load an assembly from a different clr version. I recently had this problem attempting to load a .net 2 assembly with .net 4 iron python. <br /><br />Some options&#58;<br /><br />1&#41; Is there any reason why IronPython couldn&#39;t be shipped with an app.config file with the following to allow loading of .net 2 assemblies in .net 4, or at least information added to the FAQ for the user to create this file themselves &#40;of course they will probably need a better error message to point them in the right direction first&#41;.<br /><br />&#60;&#63;xml version&#61;&#34;1.0&#34; encoding&#61;&#34;utf-8&#34; &#63;&#62; <br />&#60;configuration&#62; <br />  &#60;startup useLegacyV2RuntimeActivationPolicy&#61;&#34;true&#34;&#62; <br />            &#60;supportedRuntime version&#61;&#34;v4.0&#34; &#47;&#62;    <br />  &#60;&#47;startup&#62;<br />&#60;&#47;configuration&#62;<br /><br /><br />2&#41; Could code be added to detect a mismatch and provide the user with a meaningful error message. For example, here are the steps to get the clr version from a dll.<br /><br />&#62;&#62;&#62; import clr<br />&#62;&#62;&#62; import System<br />&#62;&#62;&#62; asm &#61; System.Reflection.Assembly.ReflectionOnlyLoadFrom&#40;&#34;my.dll&#34;&#41;<br />&#62;&#62;&#62; print asm.ImageRuntimeVersion<br />v2.0.50727"</p></div><div class="footer"><p>You are receiving this email because you subscribed to notifications on CodePlex.</p><p>To report a bug, request a feature, or add a comment, visit <a href="http://ironpython.codeplex.com/workitem/list/basic">IronPython Issue Tracker</a>. You can <a href="https://ironpython.codeplex.com/subscriptions/workitem/project/edit">unsubscribe or change your issue notification settings</a> on CodePlex.com.</p></div></div></body></html>