[IronPython] compiling exe

Martin Maly Martin.Maly at microsoft.com
Fri Sep 22 17:26:53 CEST 2006


The exception that Anton is seeing means that the .NET runtime cannot locate assemblies (IronPython.dll and IronMath.dll) which the compiled executables depend on. They need to be in the same directory as the compiled executable for it to work.

The executables created via the pyc sample that Alexander pointed out will have the same problem (except the sample documentation is quite explicit about it).

Martin

From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Alexander Shafranov
Sent: Friday, September 22, 2006 3:34 AM
To: Discussion of IronPython
Subject: Re: [IronPython] compiling exe

Anton!

Look at Pyc sample:
http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython&title=Samples

Alexander.
On 9/22/06, asu at ritm.msk.ru<mailto:asu at ritm.msk.ru> <asu at ritm.msk.ru<mailto:asu at ritm.msk.ru>> wrote:
How to make exe a file?

ipy -X:SaveAssemblies wfdemo.py

wfdemo.exe not work.
Exception: Just-In-Time Debugging
"An exception System.IO.FileNotFoundException..."

Anton Orekhov
_______________________________________________
users mailing list
users at lists.ironpython.com<mailto:users at lists.ironpython.com>
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060922/233b49e4/attachment.html>


More information about the Ironpython-users mailing list