My Unity3D Version: 2017.3.0f3 Personal
-
I am communicating with my programm with a serial port. It works well in the Player Editor, using Unity. But when I want to compile it to deploy it to my HoloLens, it doesn’t.
-
I get the error message: The type or namespace name ‘Ports’ does not exist in the namespace ‘System.IO’ (are you missing an assembly reference?)
-
I’ve tried so far:
Changed Configuration to .NET 2.0
Reimported the whole project
Downloaded and Added system.dll manually to the assets
I’ve searched almost the whole i-net, but nothing worked for me. I even looked on japanese/chinese website using google translator they always say the same (-> .NET 2.0)
I would be very grateful for your help!
Edit1: I tried also #if NETFX_CORE -mycode- #endif