I can’t tell you how many times I’ve opened up Visual Studio and, during debugging, I’ve gotten an error referring to a particular line number, only to realize I didn’t have line numbers turned on. Then I have to scramble to remember just where it is to be able to do it.
Just go to Tools/Options in the menu. Then, click on ‘Text Editor’ and then ‘All Languages’. There, you will find a checkbox for Line Numbers. Just select it and you’re good to go (whatever that really means).
All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF