2
Answers

Resource file are not creating properly

Photo of Gnanavel Sekar

Gnanavel Sekar

8y
751
1
 Hi friends,
 
i have created resourcefile(.resx) from code behind, it's created and values are added into resource file in code behind, but while am opening created resource file, it's not well formated and it doesn't contain the designer file as well..
 
ResourceWriter resourceWriter = new ResourceWriter(@"D:\myResxFile.resx");
resourceWriter.AddResource(keys, values);---> values are added
resourceWriter.Close();
 
Refer below image
 
 

Answers (2)