I Tried very simple dll importing, but no module named error appear.
My configuration are IronPython 2.7.5 Install path is "C:\Program Files (x86)\IronPython 2.7"
1) my source foo.py:
class foo:
def hello():
print "hello"
2) Making dll module
ipy "Tools\Script\pyc.py" /main:foo.py / target:dll
--> Success, I got foo.dll
3) Check 1
ipy
>> import foo
>>
-->Importing Success
Check2
Delete source foo.py, leave only foo.dll
ipy
>> import clr
>> clr.AddReference("foo")
>> import foo
-> ImportError: No module named foo
I worked everything in "C:\Program Files (x86)\IronPython 2.7" directory.