I'm setting up my development environment to play around with Unity using C# via Visual Studio Community 2017 for Mac. But I can't figure out why it's not picking up even basic libraries like System.Collections. Bear in mind that I can actually run the code in Unity; this is purely an IntelliSense problem in VS.
I'm limited to using Mac El-Capitan (v10.11.6), hence I cannot upgrade to Visual Studio 2019. I'm currently running a freshly downloaded Unity version 2018.4.
I've checked the project settings and solution settings but nothing that appears to reference libraries to be included or similar, which is the issue implied by the error messages (below). I've taken a look at this fantastic post but all the options in Visual Studio indicated are missing. I feel that Visual Studio Community is a lite version of VS?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameController : MonoBehaviour {
public Text text;
// Start is called before the first frame update
void Start() {
}
// Update is called once per frame
void Update() {
text.text = Input.mousePosition.ToString("R");
}
}
The error messages I get are:
The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'MonoBehaviour' could not be found (are you missing a using directive or an assembly reference?)
To conclude, how can I get IntelliSense working in VS?