>"An attempt was made to load a program with an incorrect format" usually >indicates a 64/32 bit mismatch. > >Are you trying to load 64 bit candle in a 32 bit msbuild or something >similar?
Yep, I think that is the issue. I was on vacation for a week and while I was gone an "emergency" upgrade was done to from TFS 2008 to TFS 2010. There is apparently an option now in the TFS 2010 build definition to run the build in a x32 or x64 process. The default being x64 of course. Now the fun part is that you can't set that option from the VS 2008 team explorer even if you have the forward compatibility pack installed. It can only be set from the team explorer in VS 2010. I'm attempting to install VS 2010 now, and set the VS 2008 builds to be x32 only. Regards, Kevin Jones >-----Original Message----- >From: Kevin Jones [mailto:krjon...@aye.net] >Sent: 28 October 2010 00:19 >To: wix-users@lists.sourceforge.net >Subject: [WiX-users] MSBuild Wix Compile Task Throwing Exception > > >This one has me stumped, I'm getting the following exception on a >TfsBuild 2008 server from the compile wix MSBuild task: > > Could not load file or assembly 'file:///c:\BTemp\Rx Production >Applications\RxAuditCreatorServer_Dev2\Sources\wix\candle.exe' or one >of its dependencies. An attempt was made to load a program with an >incorrect format. > >I have verified that candle.exe exists in the specified directory, >and that the entire wix file set is in that directory. We can run >candle in the specified directory, so it does not appear that >candle.exe itself is corrupt. > >Any hints on to what might be going on here ? > >Regards, >Kevin Jones > > > > > > > > > > > >------------------------------------------------------------------------ >------ >Nokia and AT&T present the 2010 Calling All Innovators-North America >contest >Create new apps & games for the Nokia N8 for consumers in U.S. and >Canada >$10 million total in prizes - $4M cash, 500 devices, nearly $6M in >marketing >Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > >http://p.sf.net/sfu/nokia-dev2dev >_______________________________________________ >WiX-users mailing list >WiX-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wix-users >SDL PLC confidential, all rights reserved. >If you are not the intended recipient of this mail SDL requests and >requires that you delete it without acting upon or copying any of >its contents, and we further request that you advise us. >SDL PLC is a public limited company registered in England and >Wales. Registered number: 02675207. >Registered address: Globe House, Clivemont Road, Maidenhead, >Berkshire SL6 7DY, UK. > > >------------------------------------------------------------------------------ >Nokia and AT&T present the 2010 Calling All Innovators-North America contest >Create new apps & games for the Nokia N8 for consumers in U.S. and Canada >$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing >Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >http://p.sf.net/sfu/nokia-dev2dev >_______________________________________________ >WiX-users mailing list >WiX-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users