【问题标题】:Compile resx files in the project or just use resgen without compiling resx在项目中编译 resx 文件或者只使用 resgen 而不编译 resx
【发布时间】:2014-01-19 01:10:19
【问题描述】:

我在我的项目中使用了 2 个 resx 文件,一个用于 en-Us,另一个用于 de-DE(本地化)。

我使用 resgen 将这些 resx 文件编译为资源文件。

谁能帮我解决以下两个问题:

    1234563 resx 文件并使用 resgen 工具从 resx 生成 .resources 文件而不编译 Visula Studio 项目?
  1. 能否将使用 resgen 从 resx 生成的 .resource 文件嵌入到 exe 中,还是将其作为独立编译的二进制文件与使用资源文件的 exe 一起保留?

【问题讨论】:

    标签: c# localization compilation resx resgen


    【解决方案1】:

    阿法伊克

    1 - 您可以重新创建新的 .resource 文件并替换旧文件

    2 - 您必须将资源文件与程序集一起部署

    在此处查看更多信息http://msdn.microsoft.com/en-us/library/21a15yht.aspx

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-02-06
      • 2011-10-15
      • 1970-01-01
      • 2012-11-10
      • 1970-01-01
      相关资源
      最近更新 更多