ILMerge and localized resource assemblies

一曲冷凌霜 提交于 2020-01-29 04:38:24

问题


We have an application whose structure when compiled looks something like this:

  • Foo
    • nb-NO
      • Text.resources.dll
    • sv-SE
      • Text.resources.dll
    • Bar.dll
    • Foo.exe
    • Text.dll

Is it possible to use ILMerge on this? How would you do that?


回答1:


I asked my own variant of this question and eventually got/implemented an answer: Single-assembly multi-language Windows Forms deployment (ILMerge and satellite assemblies / localization) - possible?

Hope this helps.




回答2:


Disclaimer: I work for the company that makes Dotfuscator.

There may be other alternatives out there that I am not aware of but I am pretty sure ILMerge does not do this.

An alternative would be to use Dotfuscator Pro, a commercial product that I know for certain will correctly link together assemblies and does correctly link any satellite resource assemblies for the set of input assemblies. A free trial is available so that you can test it out and make sure it works in your specific scenario.




回答3:


According to one of the comments here, if you're willing to give up intellisense, or perhaps maintain separate parallel msbuild files, you can make your DLLs "netmodules" This 0f course assumes you have the source code to your DLLs.



来源:https://stackoverflow.com/questions/1613407/ilmerge-and-localized-resource-assemblies

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!