Gnanavel Sekar

Gnanavel Sekar

  • NA
  • 8.4k
  • 7.1m

Resource file are not creating properly

May 31 2017 3:36 AM
 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)