x


Calling C# Namespace from Boo

I have a C# library I am attempting to use from Boo.

I have imported it all into my project, however, Boo doesn't seem to see the Namespace and hence none of the members of the namespace. This is not a DLL, just code. Calling the same items from a C# script works fine as you'd expect.

Any suggestions?

more ▼

asked Jun 15 '12 at 09:07 PM

squirlhntr gravatar image

squirlhntr
29 2 6 8

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Sounds like the usual JS/C# compilation order dependency problem. Either research that for the best solution, or move your C# library code to a folder named "Plugins", which will cause it to be compiled first, so the Boo scripts will know about the classes.

more ▼

answered Jun 15 '12 at 09:11 PM

Wolfram gravatar image

Wolfram
9k 8 20 52

Looks like it's working. I thought Plugins were Pro-only though. Or is that just native binaries/non-.NET stuff?

Jun 15 '12 at 09:13 PM squirlhntr

Yep, that's about the .dll import.

Jun 15 '12 at 09:24 PM Wolfram

Thank you. That makes a good deal of sense and clears some things up.

Jun 15 '12 at 09:26 PM squirlhntr
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x4149
x74
x70
x66
x25

asked: Jun 15 '12 at 09:07 PM

Seen: 513 times

Last Updated: Jun 15 '12 at 09:26 PM