For me it works with a path too<br><br><a href="http://code.google.com/p/ironruby-dbi/source/browse/trunk/src/ironruby-dbi/dbd-adonet/ADONET.rb">http://code.google.com/p/ironruby-dbi/source/browse/trunk/src/ironruby-dbi/dbd-adonet/ADONET.rb</a><br>
<br>But I do use forward slashes<br><br>It does have some weirdness though, because sometimes I have to actually copy the assembly to the directory where ir.exe lives. I&#39;m not sure as to when exactly that needs to happen.<br>

<br><br><div class="gmail_quote">On Thu, Jan 8, 2009 at 7:51 PM, Michael Letterle <span dir="ltr">&lt;<a href="mailto:michael.letterle@gmail.com">michael.letterle@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
currently, you have to copy MyApp.Core.dll to the location where ir.exe is located.<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Thu, Jan 8, 2009 at 1:46 PM, Sam Malone <span dir="ltr">&lt;<a href="mailto:lists@ruby-forum.com" target="_blank">lists@ruby-forum.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
 &nbsp;I&#39;m new to IronRuby. I&#39;m trying to require a .net assembly but I have<br>
the following error message. Any help will be very much appreciated.<br>
<br>
Note :<br>
------<br>
<br>
MyApp.Application.dll references MyApp.Core.dll and both are in the same<br>
folder C:\MyApp\Trunk\Bin\<br>
<br>
Code :<br>
------<br>
<br>
require &#39;C:\MyApp\Trunk\Bin\MyApp.Application.dll&#39;<br>
include MyApp::Application<br>
<br>
def main<br>
 &nbsp;print ZlibCompression.Decompress(ZlibCompression.Compress(&quot;toto&quot;))<br>
end<br>
<br>
if __FILE__ == $0<br>
 &nbsp;main()<br>
end<br>
<br>
Error message:<br>
--------------<br>
<br>
Unhandled exception:<br>
mscorlib:0:in `ResolveType&#39;: Could not load file or assembly<br>
&#39;MyApp.Core, Version=1.0.278.0, Culture=neutral, Public<br>
KeyToken=null&#39; or one of its dependencies. The system cannot find the<br>
file specified. (System::IO::FileNotFoundException<br>
)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;from mscorlib:0:in `ResolveTypeHandle&#39;<br>
<font color="#888888">--<br>
Posted via <a href="http://www.ruby-forum.com/" target="_blank">http://www.ruby-forum.com/</a>.<br>
_______________________________________________<br>
Ironruby-core mailing list<br>
<a href="mailto:Ironruby-core@rubyforge.org" target="_blank">Ironruby-core@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/ironruby-core" target="_blank">http://rubyforge.org/mailman/listinfo/ironruby-core</a><br>
</font></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Michael Letterle<br>[Polymath Prokrammer]<br><a href="http://blog.prokrams.com" target="_blank">http://blog.prokrams.com</a><br><br>
<br>
</font><br>_______________________________________________<br>
Ironruby-core mailing list<br>
<a href="mailto:Ironruby-core@rubyforge.org">Ironruby-core@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/ironruby-core" target="_blank">http://rubyforge.org/mailman/listinfo/ironruby-core</a><br>
<br></blockquote></div><br>