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

Rob Mensching rob at firegiant.com
Tue Aug 4 11:42:30 PDT 2015


Your startup element says your code only supports NETFX v2.x based CLRs.

_______________________________________________________________
 FireGiant  |  Dedicated support for the WiX toolset  |  http://www.firegiant.com/

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Brian C Cooke
Sent: Tuesday, August 4, 2015 11:35 AM
To: wix-users at lists.wixtoolset.org
Subject: Re: [wix-users] Error loading prerequisite bootstrapper application because managed host could not be loaded

> 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

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list