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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

 

_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to