On Tue, Jul 5, 2011 at 10:21 AM, Chaim Krause wrote:
> If I copy the dll into the same directory as the exe AND modify the code
> to...
>
> import clr
> clr.AddReferenceToFileAndPath("IronPython.Wpf.dll")
> import wpf
>
> THEN it works. So, yes. It appears that something is wrong with the import.
If I copy the dll into the same directory as the exe AND modify the
code to...
import clr
clr.AddReferenceToFileAndPath("IronPython.Wpf.dll")
import wpf
THEN it works. So, yes. It appears that something is wrong with the
import.
Has anybody else experienced this with the latest beta?
Can s
I tried that, with no luck.
However, that is the same way I am leaning. Especially if I use
/target:exe instead of /target:winexe as I then get an exception
immediately in the console window:
[C:\work\Iron Python Sandbox\WpfApplication1]WpfApplication1.exe
Unhandled Exception: IronPython.Run
Hi Chaim,
My guess is that it can't find the wpf module - which, in 2.7 at
least, is IronPython.Wpf.dll. You'll probably need to put that file
(from the DLLs directory of IronPython) into the same folder as your
.exe.
- Jeff
On Tue, Jul 5, 2011 at 6:59 AM, Chaim Krause wrote:
> Runs fine in Iron