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.

Tomas

From: ironpython-users-bounces+tomas.matousek=microsoft....@python.org 
[mailto:ironpython-users-bounces+tomas.matousek=microsoft....@python.org] On 
Behalf Of Cesar Mello
Sent: Thursday, March 08, 2012 3:39 AM
To: Markus Schaber
Cc: ironpython-users@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
Mello


On Thu, Mar 8, 2012 at 4:27 AM, Markus Schaber 
<m.scha...@3s-software.com<mailto:m.scha...@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.

Grüße,
Markus

Von: 
ironpython-users-bounces+m.schaber=3s-software....@python.org<mailto:3s-software....@python.org>
 
[mailto:ironpython-users-bounces+m.schaber<mailto:ironpython-users-bounces%2Bm.schaber>=3s-software....@python.org<mailto:3s-software....@python.org>]
 Im Auftrag von Cesar Mello
Gesendet: Mittwoch, 7. März 2012 19:45
An: Jeff Hardy
Cc: ironpython-users@python.org<mailto:ironpython-users@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
Mello

On Wed, Mar 7, 2012 at 2:31 PM, Jeff Hardy 
<jdha...@gmail.com<mailto:jdha...@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 
<cme...@gmail.com<mailto:cme...@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 
> <cme...@gmail.com<mailto:cme...@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
>>
>>
>>
>


_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to