Unfortunately, the Silverlight and desktop CLRs aren&#39;t binary-compatible -- you&#39;re basically linking against a different set of strongly-named assemblies when you&#39;re building a Silverlight version.&nbsp; You&#39;ll almost certainly need to contact the vendor and ask them to provide support for Silverlight in order for it to be usable there.&nbsp; This may not require much more work than a simple rebuild, but if they&#39;ve used any APIs that aren&#39;t supported under Silverlight (like .NET serialization or the original collection classes) then they&#39;d need to modify the source code as well.<br>
<br><div class="gmail_quote">On Wed, Nov 26, 2008 at 9:44 PM, Nummers <span dir="ltr">&lt;<a href="mailto:danummer@gmail.com">danummer@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Wow , that was fast...</div>
<div>&nbsp;</div>
<div>Anyway no I did not / can not, this is a third party dll. From the docs &quot;Technically, it is a .NET 2.0 assembly (DLL library), ...&quot;<br><br></div><div><div></div><div class="Wj3C7c">
<div class="gmail_quote">On Thu, Nov 27, 2008 at 12:37 AM, Curt Hagenlocher <span dir="ltr">&lt;<a href="mailto:curt@hagenlocher.org" target="_blank">curt@hagenlocher.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">You&#39;ve built two different versions of API.dll -- one for the desktop CLR and one for Silverlight -- yes?<br>

<br>
<div class="gmail_quote">
<div>
<div></div>
<div>On Wed, Nov 26, 2008 at 9:35 PM, Nummers <span dir="ltr">&lt;<a href="mailto:danummer@gmail.com" target="_blank">danummer@gmail.com</a>&gt;</span> wrote:<br></div></div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div></div>
<div>Just getting going on Ipy / Silverlight and hit a roadblock.<br>&nbsp;<br>This works on ipy but gives an error w/ Ipy in Silverlight (IOError: Could not add reference to assembly API.dll).<br>&nbsp;<br>import clr<br>
clr.AddReference(&#39;API.dll&#39;)<br>from OEC.API import *<br>from OEC.DATA import *<br>&nbsp;<br>same kind of error with:<br>clr.AddReference(&quot;API, Version=<a href="http://3.2.0.0/" target="_blank">3.2.0.0</a>, Culture=neutral, PublicKeyToken=b6b45f27e2749b17&quot;)<br>

and with:<br>clr.LoadAssemblyByName(&quot;API, Version=<a href="http://3.2.0.0/" target="_blank">3.2.0.0</a>, Culture=neutral, PublicKeyToken=b6b45f27e2749b17&quot;)<br>&nbsp;<br>Now, this gives no error:<br>clr.AddReferenceToFile(&quot;API.dll&quot;)<br>

However the imports fail (ImportError: No module named OEC.API<br>&nbsp;<br>Not too much experience loading assemblies but, as I said, all is well in ipy.<br>&nbsp;<br>Hope I&#39;m just doing something stooopid.<br>&nbsp;<br>Very much appreciate any help!<br>

&nbsp;<br>Dano <br></div></div>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.ironpython.com" target="_blank">Users@lists.ironpython.com</a><br><a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>

<br></blockquote></div><br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.ironpython.com" target="_blank">Users@lists.ironpython.com</a><br><a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>

<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
<br></blockquote></div><br>