This documentation is archived and is not being maintained.

/preferreduilang (C# Compiler Options)

By using the /preferreduilang compiler option, you can specify the language in which the C# compiler displays output, such as error messages.

/preferreduilang: language


The language name of the language to use for compiler output.

You can use the /preferreduilang compiler option to specify the language that you want the C# compiler to use for error messages and other command-line output. If the language pack for the language is not installed, the language setting of the operating system is used instead, and no error is reported.

csc.exe /preferreduilang:ja-JP