[IronPython] Silverlight - Adding References to Assemblies
fuzzyman at voidspace.org.uk
Thu Jul 19 01:44:31 CEST 2007
I'm trying to create a Silverlight project that references assemblies
I've created from IronPython code.
ok - but I can't reference assemblies that I've compiled.
I'm using Orcas Beta 1 and have created a Silverlight project.
When I use the normal "import clr; clr.AddReference " incantation, it
fails to add the reference.
Anyone got any clues? I can see the dll being fetched from my localhost
server, but I still get an error message.
When I use 'clr.LoadAssemblyByName' instead of 'AddReference' I get a
more descriptive error, complaining that a dependency cannot be found
(the only references my assembly has or needs are System and
Could not load file or assembly 'ScriptableObjects, Culture=neutral,
PublicKeyToken=null' or one of its dependencies. The system cannot find
the file specified.
Source File: test.py
Exception Details: System.IO.FileNotFoundException: Could not load file
or assembly 'ScriptableObjects, Culture=neutral, PublicKeyToken=null' or
one of its dependencies. The system cannot find the file specified.
More information about the Ironpython-users