RubyDotNet r4 and namespaces

J

James Britt

I grabbed the r4 release of RubyDotNet from
http://www.saltypickle.com/rubydotnet, and it works great (well, on my
laptop. My main PC seems to have issues with multiple versions of the
.net framework installed).

I had no trouble writing my own C# class and calling it from Ruby
(pretty sweet). But I if put my class in a namespace I can't get the
Ruby code to find it. I get errors about an unknown constant (i.e., the
namespace for the C# class). I'm still new to C#, so the problem may
be with my code; are there any know issues with using
loadLibraryFromFile and instantiating a custom class contained in a
namespace?

On a side note, is there a connection between RubyDotNet at
saltypickle.com, and the rubydotnet at rubydotnet.sourceforge.net, other
the (confusing) use of essentially the same name?



Thanks,


James Britt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

[ANN]: rubydotnet-0.2.0 0
RubyDotNet and Drag and Drop 3
Ruby and .NET 1
Embedding Ruby in c# 0
r4 - the simplest ruby pre-processor 15
#include and namespaces 20
Designing Namespaces 4
Namespaces too looooooong 17

Members online

No members online now.

Forum statistics

Threads
474,135
Messages
2,570,783
Members
47,341
Latest member
hanifree

Latest Threads

Top