为burn引导程序进行本地化



我在CustomUi.dll中为其刻录了引导程序和ui。我为默认区域性添加了Resources.resx,为其他语言添加了Resource.ln.resx。我从xaml使用它,如下所示:

 xmlns:res="clr-namespace:CustomUi.Properties"
 x:Static res:Resources.Break_Installation

但当我不是用默认语言执行Bootstrapper.exe时,我会得到默认的本地化。我做错了什么?

就这么做吧!有必要将此字符串<Payload Name="deCustomUi.resources.dll" SourceFile="LibdeCustomUi.resources.dll"/>添加到bundle.wxs

最新更新