C
C#Matronix

Update and add to Resource.resx file via code.

We are adding localization to our product and want to automate the process of updating the resx file with the new keys and values so that we can run the translations automatically. Right now it is cumbersome as we need to manually add the entries into the resx when we add new values.
Any clue on how to programmatically build a resources.resx file?
B
BluDay16d ago
There should be a way to accomplish that. ResXResourceReader and ResXResourceWriter from the System.Resources namespace should enable you to do just that
M
Matronix15d ago
This is correct. I finally got it. I had to add WindowForms to my ConsoleApp to be able to access that System.Resources.dll