It looks like IronPython cannot find your .dll. Check whether you have
MathHelpLib.dll along with all dependencies in your sys.path.
--
-- Lukás(
On 3.2.2011 17:00, Brian Ashcroft wrote:
Hello,
I have an ironpython instance running within my application. This
instance is used to control the application. I have a math dll that I
reference in the hosting application that I would like to be able to
use also in the ironpython scripting. However, I get error messages
when I try to add the reference. I have tried the ironpython console
(ipy.exe) in the application directory and the dll loads just fine and
is completely usable, but when I try the following code in the
application, I get an error
*import *clr
clr.*AddReferenceToFile*('MathHelpLib.dll')
*from *MathHelpLib *import **
With the error:
Could not add reference to assembly MathHelpLib
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com