I have a bit of a problem which I've just starred myself blind at.
First of all, don't make too much of the silly names in my current scripts and DLLs :P It is simply a quick demo to explain what is wrong.
I've compiled my own DLL from MonoDevelop with one simple class in it. The class is called MyClass I've placed the class in a namespace called mao. In the MonoDevelop assembly browser, you can see the structure clearly:
Now the problem is that when I then reference this namespace from within the lol.cs script like this:
using mao; I can easily compile the code from within MonoDevelop and no error is raised at all.
But when I hit the play test button from the unity editor I am presented with the following error:
Assets/Scripts/lol.cs(3,7): error CS0246: The type or namespace name `mao' could not be found. Are you missing a using directive or an assembly reference?
And I have no clue as to why this is happening.
Any help or tip would be appriciated :)
Thank you for your time! :)
asked Nov 26 '12 at 07:34 PM
Is the built assembly(dll) in the plugin folder in the inspector?
answered Nov 26 '12 at 07:48 PM