How do I make a DLL (.NET) written in python code (IronPython)?
A:
You can use the script at C:\Program Files\[IronPython Program Directory]\Tools\Scripts
.
jcao219
2010-07-05 00:11:05
The question is if I can compile them into portable DLLs
Shimmy
2010-07-05 01:06:00
You mean DLLs that can be used from C#? I don't think that's possible. I could be wrong.
jcao219
2010-07-05 04:59:11
Yes, that's what I meant. but I meant it should be attached to the project, not to be called with <DllImport> or other tough way.
Shimmy
2010-07-05 06:59:19
A:
You cannot create a standard .NET .dll from IronPython code (.dll that can be used directly from C# or VB).
pyc.py
produces .dll that can be used only by IronPython - check such .dll with Reflector and you will understand why.
Lukas Cenovsky
2010-07-11 10:43:44