2015-06-22 157 views
0

我有這個錯誤。由於我在Bundle.wxs中提供了以下代碼。命名空間前綴'bal'未定義

<BootstrapperApplicationRef Id="WixExtendedBootstrapperApplication.Hyperlink2License"> 
    <bal:WixExtendedBootstrapperApplication 
    ThemeFile="Resources\COTheme.xml" 
    LicenseUrl="http://xxxxxx 
    /> 
</BootstrapperApplicationRef> 

請大家幫幫我嗎?

回答

6

你必須通過以下

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" 
     xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"> 

我想你必須提供-ext WixUtilExtension在編譯和建築添加命名空間參考BAL。

candle.exe example.wxs -ext WixBalExtension 
light.exe example.wixobj -ext WixBalExtension