Whats the difference between .Resx and .Resources file types?

后端 未结 2 1584
心在旅途
心在旅途 2021-02-13 16:58

I\'ve got a lot of .resources files, that I need to open up and view. I downloaded Zeta Resource Editor but it only works with .Resx files. Is there a difference? Can I open .Re

相关标签:
2条回答
  • 2021-02-13 17:52

    You could always use the resgen.exe utility from visual studio to convert them into .resx files (the opposite of what happens during compilation):

    resgen.exe /compile input.resources,output.resx
    

    Resgen is often found at C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\ResGen.exe, or directly accessible from the VS command prompt.

    0 讨论(0)
  • 2021-02-13 17:58

    I think resx file contains the non-compiled resources in XML based format. These resx files are compiled into .resource file. So .resource file contains resx data in binary format.

    According to MSDN

    The .resx (XML-based resource format) files are converted in to common language runtime binary .resources files that can be embedded in a runtime binary executable or compiled into satellite assemblies.

    0 讨论(0)
提交回复
热议问题