I am trying to use the following command line command to compile code assembly from my project:
C:/"Program Files"/Unity/Editor/Data/Mono/bin/gmcs -target:library -out:C:/Users/Austin/Desktop/PixelExpanse.dll -recurse:C:/Users/Austin/Desktop/Projects/Repos/trunk/PixelExpanse/SpaceColonyRefactor/Assets/Source
As you can see, I, I believe, correctly refer to UnityEngine.dll . The code to be compiled contains links to UnityEngine.UI and UnityEngine.EventSystems . But when I run the above command, I get the following compilation error:
error CS0234: The type or name of the EventSystems namespace does not exist in the UnityEngine namespace. Are you missing an assembly link?
From what I could find through googling, it WATCHES like an error that people received when using builds up to 4.6, because EventSystems and UI were introduced then. But I donβt know how I can miss that in the dll I mention how Unity 5 is the only version that has ever touched this computer.
As a note, I submitted this question to Unity Answers and have not yet received an answer. I expect, because building an assembly goes beyond what most users do there. So I ask him here.
source share