未解决的对 'Bundle:...' 部分中符号 'WixBootstrapperApplication:WixNetFxExtension' 的引用
Unresolved reference to symbol 'WixBootstrapperApplication:WixNetFxExtension' in section 'Bundle:...'
我正在尝试创建一个 wix 引导程序配置。
我的Bundle.wxs:
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension"
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
<Bundle Name="..." Version="1.0.0.0" Manufacturer="..." UpgradeCode="...">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense">
<bal:WixStandardBootstrapperApplication LicenseFile="mtel-eula-free.rtf"/>
</BootstrapperApplicationRef>
<BootstrapperApplicationRef Id="WixNetFxExtension" />
<BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost">
<Payload
Name="BootstrapperCore.config"
SourceFile="$(var.TargetDir)\BootstrapperCore.config"/>
<Payload
SourceFile="$(var.TargetPath)"/>
</BootstrapperApplicationRef>
<Chain>
<PackageGroupRef Id="NetFx452Web"/>
<MsiPackage Id="MTESetup" SourceFile="$(var.MTESetup.TargetPath)"/>
</Chain>
</Bundle>
</Wix>
错误:
Unresolved reference to symbol 'WixBootstrapperApplication:WixNetFxExtension' in section 'Bundle:...'
我已经在我的引导程序项目中添加了 WixNetFxExtension 作为参考。
删除行
<BootstrapperApplicationRef Id="WixNetFxExtension" />
WixNetFxExtension
是 WiX 扩展的名称,而不是 BootstrapperApplication
。每个捆绑包只能有一个 BootstrapperApplication
或 BootstrapperApplicationRef
。
我正在尝试创建一个 wix 引导程序配置。
我的Bundle.wxs:
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension"
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
<Bundle Name="..." Version="1.0.0.0" Manufacturer="..." UpgradeCode="...">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense">
<bal:WixStandardBootstrapperApplication LicenseFile="mtel-eula-free.rtf"/>
</BootstrapperApplicationRef>
<BootstrapperApplicationRef Id="WixNetFxExtension" />
<BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost">
<Payload
Name="BootstrapperCore.config"
SourceFile="$(var.TargetDir)\BootstrapperCore.config"/>
<Payload
SourceFile="$(var.TargetPath)"/>
</BootstrapperApplicationRef>
<Chain>
<PackageGroupRef Id="NetFx452Web"/>
<MsiPackage Id="MTESetup" SourceFile="$(var.MTESetup.TargetPath)"/>
</Chain>
</Bundle>
</Wix>
错误:
Unresolved reference to symbol 'WixBootstrapperApplication:WixNetFxExtension' in section 'Bundle:...'
我已经在我的引导程序项目中添加了 WixNetFxExtension 作为参考。
删除行
<BootstrapperApplicationRef Id="WixNetFxExtension" />
WixNetFxExtension
是 WiX 扩展的名称,而不是 BootstrapperApplication
。每个捆绑包只能有一个 BootstrapperApplication
或 BootstrapperApplicationRef
。