IronRuby 帮助网站上的此页面讨论了能够“需要”一些众所周知的程序集,例如 System.Windows.Forms 而无需完成整个 ' ah-come-on-gimme-a-break-here-you -cannot-be-serious ' 程序集的强名称。
在文档中它是这样说的:
>>> require "System.Windows.Forms"
=> true
但是当我尝试相同的“要求”时,我得到了这个:
>>> require "System.Windows.Forms"
IronRuby.Libraries:0:in 'require': no such file to load -- System.Windows.Forms (LoadError)
from :0:in 'Initialize##1'
我可能做错了什么?会不会是设置问题?我看不到文档中提到的这个“加载路径上的 libs 目录”。文档有错吗?
谢谢。