0

I want to import the dll file of LibGaze in Unity.

I put the dll in the "Assets/Plugins" folder. I managed to add that dll as reference in mono editor, the namespace and classes seem to be recognized by mono editor without problem (when I type class names in the dll, they are in the list of auto-completion).

But when I go back to unity main window, it says: "error CS0246: The type or namespace name `libGaze' could not be found. Are you missing a using directive or an assembly reference?" When I double click this error message, it points me to the using statement of LibGaze library in the script.

1 Answers1

0

Found this question which seems to explain my problem : Getting "type or namespace name could not be found" but everything seems ok?

Since unity only support .Net 2.0 and the dll file is compiled with a higher version of .Net, unity cant correctly import it.

Tested with the new unity5, mono editor still only supports .Net 2.0

Community
  • 1
  • 1