Why is Visual Studio not Attaching to Unity ?

Visual Studio is not attaching to unity when I open a script from the Unity engine

screenshot : Imgur: The magic of the Internet

Follow this guide to get it working. Don’t skip any steps.