下载了IronRuby 1.1.3,但找不到IronRuby.dll或IronRuby.Libraries.dll进行引用 [英] Downloaded IronRuby 1.1.3, but cannot find IronRuby.dll or IronRuby.Libraries.dll to reference
问题描述
我正在尝试使用Visual Studio 2010在c#程序中引用IronRuby,IronRuby.Libraries,Microsoft.Scripting,Microsoft.Scripting.Core和Microsoft.Scripting.ExtensionAttribute.
I am trying to reference IronRuby, IronRuby.Libraries, Microsoft.Scripting, Microsoft.Scripting.Core, and Microsoft.Scripting.ExtensionAttribute in a c# program using Visual Studio 2010.
我读到您可以在C:\ Program Files \ IronRuby 1.1 \ Lib \ ironruby下找到这些.dll,但是那里没有.dll文件.我到处都在寻找这些文件,但是找不到它们.我也在网上搜索了有关此信息,却找不到任何有用的信息.
I read that you can find these .dll's under C:\Program Files\IronRuby 1.1\Lib\ironruby but there are no .dll files there. I've looked all over for these files but cannot find them. I've also searched and searched on the web for information on this and cannot find anything that helps.
任何帮助将不胜感激.
推荐答案
Jacob, you can download a zip file which contains the binaries:
请记住,它们也由 MSI 安装,但程序集已放入GAC中,而不保存在安装目录中.如果您查看C:\ Windows \ Microsoft.NET \ assembly \ GAC_MSIL
Keep in mind, they are also installed by the MSI, but the assemblies are put into the GAC and are not kept in the installation directory. You can find them if you look in C:\Windows\Microsoft.NET\assembly\GAC_MSIL
此错误报告中对此行为进行了解释.
This behavior is explained in this bug report.
您还提到了Microsoft.Scripting.Core.dll和Microsoft.Scripting.ExtensionAttribute.dll.这些程序集不是.NET 4.0安装程序的一部分,因为这些位包含在.NET 4.0的System.Core.dll中.只有当目标是.NET 4.0之前的版本时,才需要这些程序集.
Also, you mentioned Microsoft.Scripting.Core.dll and Microsoft.Scripting.ExtensionAttribute.dll. Those assemblies are not part of the .NET 4.0 installer, as those bits are included .NET 4.0's System.Core.dll. Those assemblies are only required when targeting anything earlier than .NET 4.0.
这篇关于下载了IronRuby 1.1.3,但找不到IronRuby.dll或IronRuby.Libraries.dll进行引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!