How to get Visual Studio to show you the line numbers in the Source Editor

In order to see line numbers on the editor you want to go to the Tools>>Options Menu (as in click on Tools and select Options, it's at the bottom of the menu)

Once in the Options menu you want to click on little + next to the Text Editor line, to expand that menu. Under that you choose the All Languages menu (just click where it says All Languages) and then there, finally, at the bottom, the 3rd option from the last is "Show Line Numbers". Check the little box and hit OK. This should pop up line numbers from now on.

Also if you want to know what line number a paticular error is on it is the number in the (xx) before the : on the error output.

Written by Nicholas Mattei