I have created a dll using C#. How do use the dll in IronPython. I have tried to add the dll using clr.AddReference(\"yxz.dll\"). But it fails. I have tried pla
It's better to use clr.AddReferenceToFile(filename) , because it takes a relative path.
import clr
clr.AddReferenceToFile("xxx.dll")
Then you can import the classes by import as usual:
import xxx
or
from xxx import *
I recommend you to check out this book , it's very helpful. https://play.google.com/store/apps/details?id=com.gavin.gbook