I would like to build a code library in IronPython and have another C# project reference it. Can I do this? How?
Is this just as simple as building the project and referencing the dll? Is there any conflict with the dynamic aspect of it?
I would like to build a code library in IronPython and have another C# project reference it. Can I do this? How?
Is this just as simple as building the project and referencing the dll? Is there any conflict with the dynamic aspect of it?
There is currently no way to build CLS-compliant assemblies from IronPython. The pyc
tool will generate a DLL from Python code, but it's really only useful from IronPython.
If you want to use IronPython from a C# app, you'll have to use the hosting interfaces (gory details). You could also check out IronPython in Action, which describes the hosting process quite well.