[IronPython] Silverlight 2 Controls

Dino Viehland dinov at exchange.microsoft.com
Sun Mar 9 19:18:20 CET 2008


This comes back to the manifest mentioned in the previous question.  You can update the manfiest to contain the additional assemblies which are included w/ the Silverlight SDK.  Those assemblies will get loaded allowing the XAML to parse.

________________________________________
From: users-bounces at lists.ironpython.com [users-bounces at lists.ironpython.com] On Behalf Of Michael Foord [fuzzyman at voidspace.org.uk]
Sent: Sunday, March 09, 2008 7:15 AM
To: Discussion of IronPython
Subject: [IronPython] Silverlight 2 Controls

Hello all,

I'm adapting a Silverlight 2 controls example for IronPython. It is
based on:

http://silverlight.net/Samples/2b1/SilverlightControls/run/default.html

It seems that the shiny new controls, like Button, ToggleButton,
WatermarkedTextBox (etc) don't come 'out of the box' with Silverlight2.
 From downloading this example I can see the example includes several
dlls - presumably ones that *extend* System.Windows.Controls.

As a result XAML that uses elements like these throws parse errors with
not-recognised elements. I have these dlls - how do I add them to my
IronPython project? If I just add a reference to
'System.Windows.Controls' will it use the new dlls?

Thanks

Michael
http://www.manning.com/foord
_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list