[Ironpython-users] Using pyc.py get import error on minimal WPF app
jdhardy at gmail.com
Tue Jul 5 20:04:55 CEST 2011
On Tue, Jul 5, 2011 at 10:21 AM, Chaim Krause <chaim at chaim.com> wrote:
> If I copy the dll into the same directory as the exe AND modify the code
> import clr
> import wpf
> THEN it works. So, yes. It appears that something is wrong with the import.
I'm that not familiar with pyc.py, but it looks like it doesn't have a
way to add assembly references into the .exe. If there was a
/reference argument, it could then do the equivalent of
clr.AddReference in the stub .exe that it generates. Otherwise, you'll
have to do it the way you're doing it.
If you would like that feature, you should open an issue, and even
better, implement it :)
More information about the Ironpython-users