0

I need to create a resource file for if any error occurs which should be goto resource file and show custom error message

If user want to change error message then he should change from resource file which should updated to custom error message created by programmer

how to do this?

1 Answers1

0

If you mean, all error messages will be stored in raw .resx files, then user can change the content of the file with any text editor, because these files are XML-formated.

You can retrieve a specified resource from the file programmatically: Working with .resx Files Programmatically

Note that in this case, your resources should not be compiled to localized DLLs but stored as raw .resx files.

Kryszal
  • 1,663
  • 14
  • 20