Hi, I'm Germano From Italy. I'm trying to write a wpf application using python for .net. import clr clr.AddReference("wpf\PresentationFramework.Classic") clr.AddReference("wpf\PresentationCore") from System.Windows import Window,Application
class MyWindow(Window): def __init__(self): Window.__init__(self) self.LoadComponent("page.xaml") Application.Run(MyWindow()) InvalidOperationException! There is something I heve to do? What is wrong? Thanks! Germano _________________________________________________ Python.NET mailing list - PythonDotNet@python.org https://mail.python.org/mailman/listinfo/pythondotnet