WiX Config - rsmart8452/Wix4BurnTutorial GitHub Wiki
WixToolset.Mba.Host.config (.NET Framework) || (.NET Core)
A config file is needed to help the bundle find and start up the BA. This file must be named WixToolset.Mba.Host.config
. In it, a BootstrapperSectionGroup
is declared (here named wix.bootstrapper). This section notes which assembly contains the BA. In our case, it's Bootstrapper.dll.
<wix.bootstrapper>
<host assemblyName="Bootstrapper"/>
</wix.bootstrapper>
The startup
element is required for .NET Framework and tells the bundle which framework version the BA is targeting.
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
</startup>
.NET Core does not use the startup
element and it will be ignored if it is included.
← Previous: Bootstrapper Overview || Next: WpfBaFactory Class →