我已经测试生成资源文件中的一些代码:如何查看使用ResourceWriter()创建的资源文件?
// Creates a resource writer.
IResourceWriter writer = new ResourceWriter("myResources.resources");
// Adds resources to the resource writer.
writer.AddResource("String 1", "First String");
writer.AddResource("String 2", "Second String");
writer.AddResource("String 3", "Third String");
// Writes the resources to the file or stream, and closes it.
writer.Close();
如何查看什么是保存在文件中?有没有我可以使用的资源查看器?
你说的 '看法' 是什么意思?只需查看内容,或者能够在程序中使用它? – Sach
该文件不是文本文件。如果我在Visual Studio中打开它,它将以十六进制格式+ ASCII显示文件。 –
看看这是否有帮助。 https://stackoverflow.com/q/7653679/302248 – Sach