Try following the steps in this thread: VS IntelliSense fix
That thread is about intellisense but it includes steps on making sure Unity opens your CS files with Visual Studio.
Try following the steps in this thread: VS IntelliSense fix
That thread is about intellisense but it includes steps on making sure Unity opens your CS files with Visual Studio.