[IronPython] clr assembly reference error in Ipy / Silverlight (but works in ipy)
danummer at gmail.com
Thu Nov 27 06:44:31 CET 2008
Wow , that was fast...
Anyway no I did not / can not, this is a third party dll. From the docs
"Technically, it is a .NET 2.0 assembly (DLL library), ..."
On Thu, Nov 27, 2008 at 12:37 AM, Curt Hagenlocher <curt at hagenlocher.org>wrote:
> You've built two different versions of API.dll -- one for the desktop CLR
> and one for Silverlight -- yes?
> On Wed, Nov 26, 2008 at 9:35 PM, Nummers <danummer at gmail.com> wrote:
>> Just getting going on Ipy / Silverlight and hit a roadblock.
>> This works on ipy but gives an error w/ Ipy in Silverlight (IOError: Could
>> not add reference to assembly API.dll).
>> import clr
>> from OEC.API import *
>> from OEC.DATA import *
>> same kind of error with:
>> clr.AddReference("API, Version=188.8.131.52, Culture=neutral,
>> and with:
>> clr.LoadAssemblyByName("API, Version=184.108.40.206, Culture=neutral,
>> Now, this gives no error:
>> However the imports fail (ImportError: No module named OEC.API
>> Not too much experience loading assemblies but, as I said, all is well in
>> Hope I'm just doing something stooopid.
>> Very much appreciate any help!
>> Users mailing list
>> Users at lists.ironpython.com
> Users mailing list
> Users at lists.ironpython.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users