Код: Выделить всё
Bar
Bar1
// More string Tags here
Код: Выделить всё
XMLTextReader reader = new XmlTextReader("FooBar.xml");
ResXResourceWriter writer = new ResXResourceWriter("FooBar.resx");
while(reader.Read())
{
if(reader.NodeType == XmlNodeType.Element && reader["name"] != null)
writer.AddResource("What_should_I_write_here", "What_should_I_write_here");
}
Подробнее здесь: https://stackoverflow.com/questions/118 ... -resx-file
Мобильная версия