They downloaded IronRuby 1.1.3 but cannot find IronRuby.dll or IronRuby.Libraries.dll for reference

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.

I read that you can find these .dlls in the folder C: \ Program Files \ IronRuby 1.1 \ Lib \ ironruby, but there are no DLL files there. I looked through all these files, but I can not find them. I also searched and searched the Internet for information about this and cannot find anything that would help.

Any help would be greatly appreciated.

0
source share
4 answers

Jacob, you can download the zip file containing the binaries :

Keep in mind that they are also installed by MSI , but assemblies are placed in the GAC and are not stored in the installation directory, you can find them if you look in C: \ Windows \ Microsoft.NET \ assembly \ GAC_MSIL

This is explained in this error report .

In addition, you mentioned Microsoft.Scripting.Core.dll and Microsoft.Scripting.ExtensionAttribute.dll. These assemblies are not part of the .NET 4.0 installer, since these bits are included with the .NET 4.0 System.Core.dll. These assemblies are only needed when targeting anything earlier than .NET 4.0.

+3
source

If you are using VS 2010, the easiest way is to install Nuget Package Manager and add the IronRuby link through Nuget (right-click on the project, select "Manage Nuget Packages", search for IronRuby and click on "Install",).

+3
source

When you go to Codeplex to download the code, select the version you need (1.1.3 in your case) and look in the โ€œOther available downloadsโ€ section, which has IronRuby 1.1.3 Binaries (includes binaries for Windows Phone 7). This is just a .zip file and under the bin directory are the dll files you are looking for.

0
source

Follow these steps:

  • Download the installer and run the setup.
  • Download the binaries and unzip and overwrite to % ProgramFiles (x86)% \ IronRuby 1.1 if you are running the 64-bit version of WindOS OR % ProgramFiles% \ IronRuby 1.1 if you are using a 32-bit OS.
  • If you are using a 64-bit OS, copy the IronRuby 1.1 folder from % ProgramFiles (x86)% to % ProgramFiles% .
  • Launch Visual Studio and it should work fine.

Note. If you want to use the igem, iirb (etc.) commands on the command line, add the IronRuby variable under System > Advanced System Settings > User variables with the value %ProgramFiles%\IronRuby 1.1 OR just add it to the path in the System Variables section.

0
source

All Articles