Hi ironpython,
Here's your Daily Digest of new issues for project "IronPython".
In today's digest:ISSUES
1. [New issue] IronPython pyc.py -> .exe : How to compile programs using
external dlls
----------------------------------------------
ISSUES
1. [New issue] IronPython pyc.py -> .exe : How to compile programs using
external dlls
http://ironpython.codeplex.com/workitem/34064
User 27Sergio27 has proposed the issue:
"Hello,
I am starting to use the pyc.py file to create a .exe file of my IronPython
project. It seems that pyc.py cannot deal with programs that use external dlls.
To be clear here are examples of something that worked and something that
didn't:
program1.py :
print 'hello world'
raw_input('--->')
I managed to make a .exe file of program1.py which worked by using the
following command:
ipy pyc.py /main:program1.py /target:exe
Now here is program2.py :
from clr import AddReferenceToFile
AddReferenceToFile ('myExternalDllForProgram2.dll')
raw_input('--->')
I managed to make a .exe file of program2.py using the same command that for
program1.py. Problem is, the .exe file does not work (the result box writes a
lot of things and fails at some point).
Of course, myExternalDllForProgram2.dll was put in the folder with the .exe
file and its dll (and with these dlls as well: IronPython.dll,
IronPython.Modules.dll, Microsoft.Scripting.Metadata.dll,
Microsoft.Scripting.dll, Microsoft.Dynamic.dll)
Does any one have an idea of what could have gone wrong?"
----------------------------------------------
----------------------------------------------
You are receiving this email because you subscribed to notifications on
CodePlex.
To report a bug, request a feature, or add a comment, visit IronPython Issue
Tracker. You can unsubscribe or change your issue notification settings on
CodePlex.com._______________________________________________
Ironpython-users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/ironpython-users