如何使用 dotfuscator 合併多個本地化文件? (How can I use dotfuscator to merge multiple localization files?)


問題描述

如何使用 dotfuscator 合併多個本地化文件? (How can I use dotfuscator to merge multiple localization files?)

According to a post from a user on this question:

ILMerge and localized resource assemblies

You can use dotfuscator to do this. I'd like to, because I'm having issues with ILmerge. But when I try to add all my resource.dlls for localization and combine them with my exe, I get the following error:

An assembly appears more than once in the input list.  This version of Dotfuscator does not support side by side versioned assemblies as inputs. (Gatherer.resources.dll)
Build Error.

參考解法

方法 1:

I contacted dotfuscator support and their technician said the developer was incorrect and it does not support that functionality. 

方法 2:

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.

Given the way the framework looks up localized resources in satellite assemblies, I'm not sure there is any other alternative other than writing custom code to do your own language string substitution.

DISCLAIMER: PreEmptive Solutions Employee

(by DarkenorDarkenormletterle)

參考文件

  1. How can I use dotfuscator to merge multiple localization files? (CC BY‑SA 3.0/4.0)

#dotfuscator #.net






相關問題

如何在構建中自動化 Dotfuscator (How to automate Dotfuscator in build)

Dotfuscator 命令行 (Dotfuscator command line)

Dotfuscator có vẻ như không tuân theo việc đổi tên RegEx (Dotfuscator Seems Not Adhering To Renaming Exclusion RegEx)

如何使用 dotfuscator 合併多個本地化文件? (How can I use dotfuscator to merge multiple localization files?)

在混淆的 Windows 應用商店應用程序中,包含公共調試符號是否有任何危險? (In an obfuscated Windows Store App, is there any danger in including the Public Debug Symbols?)

無法加載混淆程序集 (Cannot load obfuscated assembly)

混淆 .NET Microsoft Office 插件的工具 (Tools that Obfuscate .NET Microsoft Office Add-in)

Dotfuscator 社區版 (Dotfuscator community edition)

Dotfuscator 構建後事件退出,代碼 1 (Dotfuscator Post-Build Event Exited With Code 1)

如何防止重命名所有類,dotfuscator 中的接口 (How to prevent renaming of all classes, interface in dotfuscator)







留言討論