Error CS0103 the name does not exist in the current context

I have this error:
All the properties in mono develop are red and show Error CS0103 the name’unity engine’ does not exist in the current context. But there are not compiler errors in the unity editor. How to fix this.

I suppose you’ve already solved the problem, it has been a long time since you asked help…

It seems a synchronization error between Unity and MonoDevelop …

Look into your solution, if not listed the .cs file that is giving you problems … close MonoDevelop and Unity. Open Unity and double-click the “problematic” .cs file. If you see listed in the Scripts folder … voila! You got it!! The CS0103 error should be gone.