bool ConvertResX(ResXFile resxFile, string directoryPath)
{
int exitCode = programRunner.Run(resgenExeName, string.Format("\"{0}\" \"{1}\"", resxFile.LocalizedFileName, GetResourcesName(resxFile, directoryPath)), Path.GetDirectoryName(resxFile.LocalizedFileName));
return exitCode == 0;
}