Downloaded IronRuby 1.1.3, but cannot find IronRuby.dll or IronRuby.Libraries.dll to reference
Asked Answered
C

4

0

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 .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.

Any help will be greatly appreciated.

Cristincristina answered 7/12, 2011 at 15:3 Comment(0)
M
3

Jacob, you can download a zip file which contains the binaries:

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.

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.

Munoz answered 7/12, 2011 at 20:4 Comment(0)
G
3

If you're using VS 2010, simplest way is probably to install Nuget Package Manager and add the IronRuby reference via Nuget (right click on the project, select 'Manage Nuget Packages', search for IronRuby, and hit 'Install').

Grover answered 20/12, 2011 at 19:32 Comment(0)
P
0

When you go to Codeplex to download the code, select the version you are looking for (1.1.3 in your case) and look under "Other Available Downloads" 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 .dlls that you are looking for.

Pani answered 7/12, 2011 at 17:57 Comment(0)
O
0

Follow these steps:

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

Note: if you want to use igem, iirb (etc.) commands in command prompt, add a variable IronRuby under System > Advanced System Settings > User variables with the value %ProgramFiles%\IronRuby 1.1 OR simply append it to the path under System variables.

Ontina answered 14/6, 2012 at 4:1 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.