3.5 SP1 is installed. I turned on the fusion log and found the entry below. Not 
quite sure what to make of it.
Running the candle.exe command-line that VS2008 produces directly works with 
entries indicating v4.0.30319 is being used.

So this *feels* like, VS2008 is using CLR2 and candle.exe wants CLR4 and 
somehow the way VS2008 launches candle.exe keeps CLR2 in play? I'm reaching...


*** Assembly Binder Log Entry  (12/31/2012 @ 9:12:23 AM) ***

The operation failed.
Bind result: hr = 0x8013101b. No description available.

Assembly manager loaded from:  
C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Running under executable  C:\Program Files\Microsoft Visual Studio 
9.0\Common7\IDE\devenv.exe
--- A detailed error log follows. 

=== Pre-bind state information ===
LOG: User = <snip>
LOG: Where-ref bind. Location = C:\Program Files\WiX Toolset v3.7\bin\candle.exe
LOG: Appbase = file:///C:/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
Calling assembly : (Unknown).
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will 
only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: C:\Program Files\Microsoft Visual 
Studio 9.0\Common7\IDE\devenv.exe.Config
LOG: Using machine configuration file from 
C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Attempting download of new URL file:///C:/Program Files/WiX Toolset 
v3.7/bin/candle.exe.
LOG: Assembly download was successful. Attempting setup of file: C:\Program 
Files\WiX Toolset v3.7\bin\candle.exe
LOG: Entering run-from-source setup phase.
ERR: Error extracting manifest import from file (hr = 0x8013101b).
ERR: Failed to complete setup of assembly (hr = 0x8013101b). Probing terminated.



-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Friday, December 28, 2012 5:45 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Wix 3.7 Woes with VS2008

Is the NETFX 3.5 installed on that machine?  If so, can you try running
with fusion logging turned on? That should pinpoint the assembly causing
the problem.


On Fri, Dec 28, 2012 at 12:44 PM, Maillet, Ed <email...@unum.com> wrote:

> A bit more details.
> Wix 3.6.3303.1 works just fine on the same project. Something got broke
> with Wix3.7. Haven't quite figured out what yet.
>
> The Wix 3.7.1224.0 build is the one that fails. The RC 3.7.1119.0 fails
> differently:
>
> The "ReadRegistry" task could not be loaded from the assembly C:\Program
> Files\MSBuild\..\WiX Toolset v3.7\bin\WixTasks.dll. Could not load file or
> assembly 'file:///C:\Program Files\WiX Toolset v3.7\bin\WixTasks.dll' or
> one of its dependencies. This assembly is built by a runtime newer than the
> currently loaded runtime and cannot be loaded. Confirm that the <UsingTask>
> declaration is correct, and that the assembly and all its dependencies are
> available.      C:\Program Files\MSBuild\Microsoft\WiX\v3.x\wix200x.targets
>
>
> I did get error message on another machine with Wix 3.7.1224.0 installed
> from VS2008:
> Problem signature:
>   Problem Event Name:   CLR20r3
>   Problem Signature 01: devenv.exe
>   Problem Signature 02: 9.0.30729.1
>   Problem Signature 03: 488f2b50
>   Problem Signature 04: mscorlib
>   Problem Signature 05: 2.0.0.0
>   Problem Signature 06: 503f022f
>   Problem Signature 07: 1c8b
>   Problem Signature 08: b
>   Problem Signature 09: System.BadImageFormatException
>   OS Version:   6.1.7600.2.0.0.256.4
>   Locale ID:    1033
>
> Additional information about the problem:
>   LCID: 1033
>
> ----- Ed
>
>
>
> -----Original Message-----
> From: Maillet, Ed
> Sent: Friday, December 28, 2012 11:09 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Wix 3.7 Woes with VS2008
>
> Hey all,
>   I'm trying to build an existing wixproj in VS2008 that was created using
> Wix3.5.
>
> When I build in Visual Studio, Visual Studio simple dies (ie. The process
> gets removed from the process list and the UI disappears from the screen).
>
> When I build using devenv from the command-line, I do get an error message:
> Could not load file or assembly 'file:///C:\Program Files\WiX Toolset
> v3.7\bin\candle.exe' or one of its dependencies. This assembly is built by
>  a runtime newer than the currently loaded runtime and cannot be loaded.
>
> I made of copy of the code base and upgraded it to VS2012. Building in
> VS2012 works just fine. Unfortunately, doing that upgrade for real isn't an
> option in the actual code base.
>
> I have .NET 4.5 installed on the machine and it's Windows 7 SP1.
>
> ----- Ed
>
>
>
>
>
> ------------------------------------------------------------------------------
> Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
> much more. Get web development skills now with LearnDevNow -
> 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122812
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
> much more. Get web development skills now with LearnDevNow -
> 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122812
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually,

   Rob Mensching
   http://RobMensching.com LLC
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to