.net 6.0 Exception Error Display Language Error

Cixot 6 Reputation points
2022-11-06T13:18:42.6+00:00

try {
File.ReadAllLines("F:\1.txt");
}catch(Exception ex)
{
var d = ex.Message;
}

の例外エラーメッセージは英語で表示されています。

OptionのInternational Settingsは日本語
.net 6.0 とVisual Studio2022を使用しています。

例外エラーメッセージを日本語化する方法を教えていただけませんか

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,865 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,964 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Solomon Alexander 6 Reputation points
    2022-11-06T13:27:17.393+00:00

    As far as I know, Visual Studio IDE doesn't support that configuration, which means you might resort to some add-in to do the job. Visual Studio Extensibility should be the place to consult for better answer.

    1 person found this answer helpful.