Re: [Rubydotnet-developer] rubydotnet - first announcement
Status: Alpha
Brought to you by:
thomas
From: John R. P. <jo...@pi...> - 2003-09-06 12:59:07
|
On Sat, 6 Sep 2003 12:58:55 +0200, "Thomas Sondergaard" wrote: > I have a problem that I hope you guys can help me with. The > DynamicLanguageSupport.dll is now needed by my dotnet.so, but I need to put > the DynamicLanguageSupport.dll next to the ruby.exe binary otherwise it > isn't found. > > Any suggestions? Sure, we had the same issue and corrected it by building the .NET dll instead as a netmodule. If you check out our project we have a batch routine that runs the following command: csc /nologo /d:TRACE /t:module /out:ext\DotNetBridge.Core.so ..\Core\*.cs Of course, you would use the appropriate compiler for the language you've written you're DynamicLanguageSupport in, but get it build as a module. The magic is that the .NET runtime requires netmodules to be in the same location as the dll (or .so) files, not in the ruby\bin folder. This, of course, is highly desirable. Hope that helps, John |