Partilhar via


C# Compiler Errors

Some C# compiler errors have corresponding topics that explain why the error is generated, and, in some cases, how to fix the error. Use one of the following steps to see whether help is available for a particular error message.

  • Find the error number (for example, CS0029) in the Output Window, and then search for it on MSDN.

  • Choose the error number (for example, CS0029) in the Output Window, and then choose the F1 key.

  • In the Index, enter the error number in the Look for box.

If none of these steps leads to information about your error, go to the end of this page, and send feedback that includes the number or text of the error.

For information about how to configure error and warning options in C#, see Build Page, Project Designer (C#).

Note

Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions. The Visual Studio edition that you have and the settings that you use determine these elements. For more information, see Customizing Development Settings.

See Also

Reference

Additional Information About C# Errors

Build Page, Project Designer (C#)

/warn (C# Compiler Options)

/nowarn (C# Compiler Options)

Other Resources

C# Compiler Options