I am using Visual Studio 2015 with Unity Pro and have created a quick project to teach some students Unity. When I create a simple C# script file and attempt to edit the file Unity launches Visual Studio as you would expect. Everything breaks after that.
I am getting an error when opening Visual Studio staying
UnityVS.Project.sln can’t be found. This file does not exist in the directory where I am working so this makes sense. When I use the Sync MonoDevelop Project menu item under
Assets -> Sync MonoDevelop Project I get the same error.
If I navigate to the project folder in Explorer I see two generated Solutions and two related projects. There are:
If I open the generated C# script file and edit it Unity does see the edits. I guess this means I can continue to work on my project, I just can’t use any of the connectivity features between Unity and my VS Solutions.
Is there a way to make Unity correctly generate solutions?
Note that I have replaced the name of my project with “Project” in the file names I mentioned above.