[wix-users] Error loading prerequisite bootstrapper application because managed host could not be loaded

Brian C Cooke tonic889 at gmail.com
Tue Aug 4 11:34:53 PDT 2015


> I would bet that the problem is that the supportedFramework element is v3.5
> (which is the 2.0 runtime) but there's no supportedRuntime element for the
> 2.0 CLR.


Thanks, that fixes the scenario where .NET 3.5 is enabled on Windows 7.
When it is disabled, I get the same error message with a different error
code: "Loading prerequisite bootstrapper application because managed host
could not be loaded, error: 0x80070490."  To review, this is with my BA
targeting 3.5, .NET 3.5 disabled but NET 4.5 installed.  I should be able
to run my 3.5 BA against the 4.5 runtime, correct?  An excerpt of my
current bootstrappercore.config:

  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v3.5"  />
    <supportedRuntime version="v2.0.50727" />
  </startup>

  <wix.bootstrapper>
    <host assemblyName="MyBootstrapperApplication">

      <supportedFramework version="v3.5"/>

    </host>
  </wix.bootstrapper>

Thanks,
Brian


More information about the wix-users mailing list