[Ironruby-core] Location of ir.exe.config in IronRuby 1.1

Tomas Matousek Tomas.Matousek at microsoft.com
Thu Jan 6 12:14:51 EST 2011

Create a new file ir.exe.config next to ir.exe.


-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Poojan Wagh
Sent: Thursday, January 06, 2011 6:36 AM
To: ironruby-core at rubyforge.org
Subject: [Ironruby-core] Location of ir.exe.config in IronRuby 1.1

I'm trying to set the useLegacyV2RuntimeActivationPolicy option so that my IronRuby script can reference .NET 2.0 assemblies from .NET 4.0. I found a few references that say that .NET will run the script in IronRuby's (ir.exe) app domain, so I need to modify ir.exe.config.  
However, for IronRuby 1.1, I can't find ir.exe.config anywhere. Is there some other method IronRuby is using for setting such .NET options. If not, where should I put ir.exe.config?

Any help or pointers would be much-appreciated.

Ironruby-core mailing list
Ironruby-core at rubyforge.org

More information about the Ironruby-core mailing list