开发者

Build .NET DLLs from Python code?

How do I make 开发者_如何学编程a DLL (.NET) written in python code (IronPython)?


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.


You can probably use ironpycompiler, using examples in http://pythonhosted.org//ironpycompiler/html-en/command-line.html. It requires installations of both IronPython and of CPython (the regular Python).


You can use the script at C:\Program Files\[IronPython Program Directory]\Tools\Scripts.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜