.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を使用しています。

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

Developer technologies | Windows Forms
Windows for business | Windows Client for IT Pros | User experience | Other
{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.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.