Could you share the code that is in the assemblies? or at least show the namespaces etc? --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/carrero)
On Wed, Jul 8, 2009 at 6:44 AM, Mario A Chavez <[email protected]>wrote: > Hi; > I have a custom C# Assembly1 which have interface ISomething and a C# > Assembly2 which have class Something, and this class implements the > interface like: > > public class Something : ISomething { } > > Using iirb I try to create an instace of that class but it complains about > the class not being defined, I do use iirb as follow: > > requiere 'mscorlib' > requiere 'System' > > require File.dirname(__FILE__) + '/build/assembly1.dll' > require File.dirname(__FILE__) + '/build/assembly2.dll' > > include Assembly1 > include Assembly2 > > @s = Something.new > <-- Here it fails telling me that the class is not defined, but if I remove > the code that implements the interface, it just works fine. My guess is that > somehow is not resolving the interface, but I'm not sure how can I fix this. > > Thanks > > Mario Alberto Chávez > [email protected] > http://mario-chavez.blogspot.com/ > > > > > _______________________________________________ > Ironruby-core mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/ironruby-core > >
_______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
