import Rhino.Commons from Rhino.Commons

Holy Frakin’ Frakity Frak!

Perhaps it’s my own fault for using Binsor without being familiar with Boo, but I just ran into a doozy of a PITA.

I was trying to add an ThreadSafeQueue from Rhino.Commons into my container, but Binsor kept complaining that IQueue and ThreadSafeQueue were invalid identifiers. I had done an “import Rhino.Commons” but that wasn’t working.

Two hours and much yelling later, I discovered that since there is a Rhino.Commons is in multiple DLL’s, I have to specify which Rhino.Commons namespace of which individual DLL (in this case Rhino.Commons.dll) to import into my Binsor script like so:

import Rhino.Commons from Rhino.Commons

Friction.

Btw- I can’t thank Oren enough for releasing the Rhino.Tools/Commons/Whatever. ThreadSafeQueue is something I used a lot in Java (well BlockingQueue), then I come to .NET land and there’s nothing like it in the stdlib.  Der fick?

This entry was posted in Development and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>