FWIW, I am using 3.5.2020.0. I have the same problem, but what I did was set the TFS Build setting to be X86, rather than automatic. That has allowed us to continue working.
Its not ideal, but it might get you going. Rob, his subject line says 3.5.2312... are you suggesting that it has been addressed? -----Original Message----- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Wednesday, November 24, 2010 2:32 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Running HeatDirectory task fails from TFS 2010 with MSBuild x64 ( Wix 3.5.2312) What version are you using? On Mon, Nov 22, 2010 at 8:26 PM, Yann Normand <yann.norm...@avanade.com>wrote: > Hi all, > > I call HeatDirectory task from a MSBuild file. When the MSBuild file > is launched from a TFS 2010 Build Server on a x64 system, it fails > with the following error: > > F:\Builds\1\MyApplication\CIBuild\Sources\Main\Build\..\Reference\wix\ > 3.5\Heat.exe > dir > F:\Builds\1\MyApplication\CIBuild\Sources\Main\Source\Setup.MyApplicat > ionWeb\..\..\DeployTemp\MyApplication > -cg C.MyApplication -dr D.MyApplication -ke -scom -sreg -srd -var > var.MyApplication.PublishDir -gg -out > F:\Builds\1\MyApplication\CIBuild\Sources\Main\Source\Setup.MyApplicat > ionWeb\MyApplication.generated.wxs > Could not load file or assembly > 'file:///F:\Builds\1\MyApplication\CIBuild\Sources\Main\Reference\wix\3.5\Heat.exe' > or one of its dependencies. An attempt was made to load a program with > an incorrect format. > at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, > String codeBase, Evidence assemblySecurity, RuntimeAssembly > locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, > Boolean forIntrospection, Boolean suppressSecurityChecks) > at > System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyNam > e assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, > Boolean forIntrospection, Boolean suppressSecurityChecks) > at System.Reflection.RuntimeAssembly.InternalLoadFrom(String > assemblyFile, Evidence securityEvidence, Byte[] hashValue, > AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean > suppressSecurityChecks, StackCrawlMark& stackMark) > at System.Reflection.Assembly.LoadFrom(String assemblyFile) > at > Microsoft.Tools.WindowsInstallerXml.Build.Tasks.WixToolTask.ExecuteToo > lThread(Object > parameters) > > It works if I modify my build and specify to explicitely run MSBuild > in x86. > Is it a bug in Wix or is there something I missed ? > Similar stories I found on the web only confused me. > > Thanks for anyone who can help me. > > Yann > > > ---------------------------------------------------------------------- > -------- Increase Visibility of Your 3D Game App & Earn a Chance To > Win $500! > Tap into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with > the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users