[IronPython] difference in compiling ipy in 3.5 vs. .NET 4.0?

Ken MacDonald drken567 at gmail.com
Mon Oct 4 16:55:35 CEST 2010

We tried windbg, but weren't able to get anywhere with it. We have pretty
much given up on trying to get IP 2.6.1 to work with .NET 4.0 as an .exe
(works WONDERFULLY in 'ipy foo.py' mode), and we are now going to try
running this with the 2.7 Alpha of IP. I've just installed this, and skimmed
through the entire docset, and while 2.7 supposedly has integration with
Visual Studio, there is no mention of it in the docs. Anybody out there
tried this and gotten it to work? Also, is the full VS 2010 product needed
or can this be run with VS Express?

On Fri, Sep 17, 2010 at 3:19 PM, Lukas Cenovsky <cenovsky at bakalari.cz>wrote:

>  I would try to run it via WinDbg to see all exceptions raised.
> --
> -- Lukáš
> On 17.9.2010 19:43, Ken MacDonald wrote:
> We're trying to get a WPF/IPY project converted from .NET 3.5 to 4.0 using
> IPY 2.6 for .NET 4.0. I got it running fine yesterday using IPY
> interactively:
> ipy etms.py
> bring up all dialogs, connects to DB, works great.
> but I try to compile it into an executable using the 'pyc.py' tool:
> C:\hs\tally\etms>ipy.exe "c:\Program Files (x86)\IronPython 2.6 for .NET
> 4.0\Tools\Scripts\pyc.py" /main:etms.py /platform:x86 /target:winexe etms.py
> main_window.py model.py presenter.py wpf_helpers.py pyevent.py dialogs.py
> login.py kitchen_ticket.py hs_quantity.py hssecdll.py debug_settings.py
> version_info.py
> and it completes 'successfully' but then if I attempt to run it, the
> command prompt returns immediately and not even the login dialog appears.
> There are no error messages, or indications of a problem. This worked fine
> (with path changes to reference 3.5) in .NET 3.5, but is now a mystery. I've
> tried a variety of pyc.py flags that seemed possibly relevant, but nothing
> makes it work. Suggestions for what this could be appreciated.
> Ken
> _______________________________________________
> Users mailing listUsers at lists.ironpython.comhttp://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> _______________________________________________
> Users mailing list
> 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/20101004/ec773bc1/attachment.html>

More information about the Ironpython-users mailing list