Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道如何将现有的 .dll 引用到 IronPython,但是有没有办法像在 Visual Studio 项目之间一样将我的项目添加为引用?
还是创建一个单独的类库是最佳实践?
您不能添加对项目的引用,因为它是 Visual Studio 的东西。
我建议在开发过程中,调用import(IronPython) 或require(IronRuby) 使用项目程序集的完整路径,如 c:\dev\MyProject\bin\Debug\MyProject.dll。
import
require
我知道您可以使用 SharpDevelop 做到这一点。有点像这样:
http://i42.tinypic.com/hwb8z9.gif