Поделиться через


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.

  • Click the error number (for example, CS0029) in the Output Window, and press F1.

  • Type the error number in the Look for box in the Index.

  • Perform a search for the error number on MSDN.

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 Visual Studio 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