Dela via


Error List Window

The Error List helps you speed application development. In the Error List window, you can:

  • Display the Errors, Warnings, and Messages produced as you edit and compile code.

  • Find syntax errors noted by IntelliSense.

  • Find deployment errors, certain Static Analysis errors, and errors detected while applying Enterprise Template policies.

  • Double-click any error message entry to open the file where the problem occurs, and move to the error location.

  • Filter which entries are displayed, and which columns of information appear for each entry.

To display the Error List, on the View menu choose Error List.

Use the Errors, Warnings, and Messages buttons to select which entries to display.

To sort the list, click any column header. To sort again by an additional column, hold down the SHIFT key and click another column header. To select which columns are displayed and which are hidden, choose Show Columns from the shortcut menu. To change the order in which columns are displayed, drag any column header to the left or right.

Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

Error List Toolbar

  • Errors
    Indicates the number of Errors in the list. Click to toggle whether Errors are displayed.

  • Warnings
    Indicates the number of Warnings in the list. Click to toggle whether Warnings are displayed.

  • Messages
    Indicates the number of Messages in the list. Click to toggle whether Messages are displayed.

UI Element List

  • Category
    Displays an icon identifying the type of Error List entry.

  • Default Order
    Displays an integer indicating the order in which an entry was generated.

  • Description
    Displays the text of the Error, Warning, or Message entry. Lengthy Descriptions wrap onto additional lines.

  • File
    Displays the file name only or the full path and file name.

    To specify which is displayed, select or clear the option Show file names only in the Task List, Environment, Options Dialog Box.

  • Line
    Displays the line in your code where the problem occurs.

  • Column
    Notes the column on the indicated line where the problem begins.

  • Project
    Displays the name of the project that includes the file named.

See Also

Tasks

How to: Go To a Line of Code

How to: Create Task List Comments

How to: Create Custom Comment Tokens