Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

/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
© 2015 Microsoft