Parallels VS - Have to sync project after every new script

Hello!

I’m running Unity on OSX, and MS VS Ultimate 2012 on Win 8 through Parallels.
I’ve set up Unity to use VS, so when I double click any C# file in my project it will open with VS.

Every time I create a new C# file in unity (via Create > C# Script) and then click it to open into VS. The file opens fine, but I don’t have any autocomplete in this file. No .net classes, unity classes, anything!

The only way I can fix this is by closing VS entirely, then going back into unity and Clicking “Sync Monodevelop Project” which then reopens VS. Then I have to reset my references to UnityEngine.dll and UnityEditor.dll and then everything will work right.

I’ve had this problem for a while now, and it’s just become too annoying to deal with after EVERY new file, so I thought there must be a way to fix it!

Any ideas?
Thanks!

I am having the same problem. I don’t have a full solution, but you can atleast use the clean solution to make Visual Studio notice the changes. For me it then notices that the solution was modified outside the enviroment and asks if I want to reload. Afterwards the code completion works again.