我有这个错误。因为我把下面的代码放在 Bundle.wxs 中。
<BootstrapperApplicationRef Id="WixExtendedBootstrapperApplication.Hyperlink2License">
<bal:WixExtendedBootstrapperApplication
ThemeFile="Resources\COTheme.xml"
LicenseUrl="http://xxxxxx
/>
</BootstrapperApplicationRef>
可以请任何人帮助我吗?
最佳答案
您必须按照以下步骤添加对 bal 的命名空间引用
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
我想你必须在编译和构建时提供 -ext WixUtilExtension 。
candle.exe example.wxs -ext WixBalExtension
light.exe example.wixobj -ext WixBalExtension
关于wix - 命名空间前缀 'bal' 未定义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30970879/