Forum: IronRuby Location of ir.exe.config in IronRuby 1.1

Posted by Poojan Wagh (Guest)
on 2011-01-06 15:49
(Received via mailing list)
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.

Thanks,
--
Poojan
Posted by Tomas Matousek (Guest)
on 2011-01-06 18:49
(Received via mailing list)
Create a new file ir.exe.config next to ir.exe.

Tomas
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.