Tool - > Option -> Text Editor -> C# -> Line Number

(o similmente in italiano)