Mohammad Azam wrote: > Hi, > > I have a class library in C# called "BusinessObjects" and I want to > refer to that DLL using IronRuby. > > I typed: > > require 'BusinessObjects' > true > > include BusinessObjects > > >>>> include BusinessObjects > C:\ironruby\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtin > s\ModuleOps.cs:793:in `const_missing': uninitialized constant > Object::BusinessOb > jects (NameError) > from :0 > > I want to refer to a Customer class inside the BusinessObjects library.
Is BusinessObjects the top-level namespace here? Usually, you might have some namespace a level above that, like Azam::BusinessObjects Could you attach a zip with the compiled BusinessObjects.dll? Thanks -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
