Dubugging in Visual Studio 2015, Unity 5.2
I am trying to debug my unity project in Visual Studio 2015 Community Edition (the default one that comes with Unity 5.2 now), and when I press F5 to attach the process to the Unity Editor, Visual Studio throws up an error that says "A project with an Output Type of Class Library cannot be started directly.
In order to debug this project, add an executable project to this solution which references the library project. Set the executable project as the startup project."
How do I debug my unity project in VS? I have tried deleting everything in my unity project folder except the Assets and ProjectSettings folders, which rebuilt the VS project, but I still get the same error.
This project was created back with Unity 5.0, if that could be pertinent info.
Having the exact same issue right now it's annoying. everything was working fine and i debbuged earlier and now for no reasons VS and Unity are detached and no matter what i do i can't debug anymore.