[IronPython] Newbie question about importing from System.Windows

Funke, Matt Matt.funke at vishaypg.com
Fri May 7 20:43:53 CEST 2010


Thanks, but UI found my answer; I needed to import clr and load the .NET libraries.  I feel a little sheepish.  Thanks for your time.

 -- Matt Funke

> -----Original Message-----
> From: users-bounces at lists.ironpython.com [mailto:users-
> bounces at lists.ironpython.com] On Behalf Of Funke, Matt
> Sent: Friday, May 07, 2010 1:11 PM
> To: users at lists.ironpython.com
> Subject: [IronPython] Newbie question about importing from
> System.Windows
> 
> I'm running IronPython 2.6.1 for .NET 4.0, and have installed Visual
> Studio 2010 and Silverlight 4SP2.  I tried to import
> System.Windows.Controls, but got an error that "Windows" does not
> exist.  Trying to run ipy from the command line and running this:
> 
> >>> import System
> >>> dir(System)
> 
> ... confirms that there is no "Windows" entry.  Could another "System"
> be taking precedence?  How can I find out?
> 
> Thanks in advance for any help you can lend.
> 
>  -- Matt Funke
> _______________________________________________
> 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