I just installed Visual Studio 2012 Professional today. For some reason, I don't have line numbers in my view files, but I do have them in my .cs files. The option to turn line numbers on is selected in tools->editors->whatever.
I right clicked the project (asp.net Web Site), went to property pages, and looked at the debug output options, and noticed that it was being sent to a weird directory. I changed it to the bin folder of my current application, cleared temporary asp.net files, restarted VS2012, tried again, and no luck. Still the same symptoms.
Any ideas as to what could be causing this?
Edit: I just noticed after changing the debug output location that now, when I open up a .aspx
file, VS freezes and becomes totally unresponsive.
Each text editor has its own settings pane.
Are you changing the HTML editor settings? Line numbers for ASPX files are enabled in the Tools\Options\Text Editor\Html\General\Line Numbers setting.
To enable settings for every editor window go to
Tools\Options\Text Editor\All Languages\General\Line Numbers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With