[Ironpython-users] IronPython on Windows Phone

Tomas Matousek Tomas.Matousek at microsoft.com
Thu Mar 8 23:15:24 CET 2012

I would build IronPython WP7 binaries first and then add references to the resulting dlls, not to projects. Have a separate solution for you WinPhone app.


From: ironpython-users-bounces+tomas.matousek=microsoft.com at python.org [mailto:ironpython-users-bounces+tomas.matousek=microsoft.com at python.org] On Behalf Of Cesar Mello
Sent: Thursday, March 08, 2012 3:39 AM
To: Markus Schaber
Cc: ironpython-users at python.org
Subject: Re: [Ironpython-users] IronPython on Windows Phone

Hi Markus,

Thank you for the advice! I'll try the latest version of MonoDevelop in a while.

My only success debugging IronPython code on WP7 was using my own projects made from scratch with some tweaks.

I'm not sure if this is a limitation of the Express editions or my mistake: I can open the IronPython solution in VS Express for Phone and build the projects using the WP7Debug configuration. But if I add a new Windows Phone application project to this solution for debugging, when I Add References to the IronPython projects I get a messageBox saying:

Microsoft Visual Studio 2010 Express for Windows Phone
Unable to add the selected project reference. The project reference must be another Silverlight for Windows Phone project that is the same or lower version.

Any suggestions are welcome. :-)

Thanks a lot!

Best regards

On Thu, Mar 8, 2012 at 4:27 AM, Markus Schaber <m.schaber at 3s-software.com<mailto:m.schaber at 3s-software.com>> wrote:
Hi, Cesar,

Just as a side note: If the Express Editions are too limited, sometimes SharpDevelop or MonoDevelop do the trick. E. G. they can handle "Solution Folders" and multi-language projects. A disadvantage is that, currently, none of them handles Managed C++ and C++/CLI.


Von: ironpython-users-bounces+m.schaber=3s-software.com at python.org<mailto:3s-software.com at python.org> [mailto:ironpython-users-bounces+m.schaber<mailto:ironpython-users-bounces%2Bm.schaber>=3s-software.com at python.org<mailto:3s-software.com at python.org>] Im Auftrag von Cesar Mello
Gesendet: Mittwoch, 7. März 2012 19:45
An: Jeff Hardy
Cc: ironpython-users at python.org<mailto:ironpython-users at python.org>
Betreff: Re: [Ironpython-users] IronPython on Windows Phone

Thanks! I think I missed that one because I use the Express editions of Visual Studio at home.

But now I see all the platforms are OK.

Best regards

On Wed, Mar 7, 2012 at 2:31 PM, Jeff Hardy <jdhardy at gmail.com<mailto:jdhardy at gmail.com>> wrote:
Please use the RC1 files if you can.

The normal WP build uses the same project files as everything else -
just set the configuration to WP7Debug (or maybe Silverlight3Debug, I
can't remember if I actually renamed it).

You can also build everything by opening a Visual Studio command
prompt, navigating to the root, and running `msbuild`. The resulting
files will be in bin.

- Jeff

On Wed, Mar 7, 2012 at 5:01 AM, Cesar Mello <cmello at gmail.com<mailto:cmello at gmail.com>> wrote:
> Hi,
> For the repro sample, do you prefer to have references to the RC1 binaries,
> or should I add the IronPython projects to compile from source and aid
> debugging?
> A second question: what solution and projects are being used for the Windows
> Phone build?
> Thanks
> Mello
> On Tue, Mar 6, 2012 at 4:43 PM, Cesar Mello <cmello at gmail.com<mailto:cmello at gmail.com>> wrote:
>> Hi Jeff,
>>> Looking at it briefly I can't see an obvious workaround (I'm not sure
>>> what interactions MaybeNotImplementedAttribute will have); can you
>>> open an issue and attach a minimal repro if possible?
>> Sure! I'll open this issue at home later, because the Windows Phone use
>> case is for a pet project in my spare time just for fun. That said, we are
>> using IronPython at work with .NET 4, but I don't want to mix personal stuff
>> with professional duties. You know. :-)
>>> Also, thank you for looking at WP stuff. It needs people to hammer on
>>> it to make sure that it works and find its limitations.
>> Nice! It's a pleasure to help. I just don't have enough knowledge about
>> the codebase and even Python is a new thing to me, but my objective is to
>> learn.  Hacking IronPython seems to be the best way to learn and have fun at
>> the same time. (I've seen quite a nice performance from PyPy so I imagine
>> there is a lot of room for optimizations in the long run too).
>> Thanks a lot for the help!
>> Best regards
>> Mello

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

More information about the Ironpython-users mailing list