2007/11/29, Raymond Yee <[EMAIL PROTECTED]>:
> # I can't figure out how to load System.IO.Packaging -- which is part of
> .NET 3.0
> #
> http://msdn2.microsoft.com/en-us/library/system.io.packaging.package.aspx
> is part of .NET 3.0

The MSDN page you linked says:

Package Class
Namespace: System.IO.Packaging
Assembly: WindowsBase

This should work:

import clr
clr.AddReference('WindowsBase')
from System.IO.Packaging import Package

So, when you read MSDN, pay attention to which assembly the class is from.

-- 
Seo Sanghyeon
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to