Hi,

I'm trying to create an IronRuby C# extensions and I just can't get it to
work. Is there anything special I should do?

This is what I do:
1. Create a class library (.Net 2.0)
2. Create a class and use the RubyModule attribute on it with a name. Then I
set some classes and consts inside and decorate them with RubyClass and
RubyConstant attributes.
3. I compile that.
4. I load ir.exe and use load_assembly in order to load the assembly with
the extension.
The problem is that the class library is loaded without paying attention to
the attributes and I have to use the namespace and CLR name. What am I
missing?

Thanks!
Shay.

--------------------------------------------------
Shay Friedman
Author of IronRuby Unleashed
http://www.IronShay.com
Follow me: http://twitter.com/ironshay
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to