ILMerge and localized resource assemblies
Asked Answered
G

3

13

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?

Gile answered 23/10, 2009 at 13:23 Comment(0)
M
7

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.

Murraymurre answered 24/12, 2009 at 14:0 Comment(0)
M
0

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.

Mastrianni answered 26/10, 2009 at 17:53 Comment(2)
Technical support for dotfuscator says this is not supported.Nefen
Dotfuscator won't merge localized resources for the same assembly for different resources. It will merge localized resources for different assemblies that are merged together. DISCLAIMER: PreEmptive Solutions EmployeeImpair
E
0

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.

Experimentalize answered 9/11, 2009 at 13:18 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.