# Location of ir.exe.config in IronRuby 1.1

**URL:** <https://www.ruby-forum.com/t/location-of-ir-exe-config-in-ironruby-1-1/201389>\
**Category:** IronRuby\
**Created:** [January 6, 2011, 3:49pm UTC](https://www.ruby-forum.com/t/location-of-ir-exe-config-in-ironruby-1-1/201389 "2011-01-06T15:49:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [January 6, 2011, 3:49pm UTC](https://www.ruby-forum.com/t/location-of-ir-exe-config-in-ironruby-1-1/201389/1 "2011-01-06T15:49:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Poojan\_Wagh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/4da419/32.png) [@Poojan\_Wagh](https://www.ruby-forum.com/u/Poojan_Wagh)\
**Post date:** [January 6, 2011, 6:49pm UTC](https://www.ruby-forum.com/t/location-of-ir-exe-config-in-ironruby-1-1/201389/2 "2011-01-06T18:49:27Z")

</div>

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

Tomas
