Hi Rob, Thanks very much for your quick feedback.
Your solution worked perfect for heat project. However, because I have Visual Studio 2012 installed, I had to add /P: VisualStudioVersion="11.0" option to my MSBuild command to get it to build Wix64.proj. Without this defining this property I was getting this error : "error MSB8008: Specified platform (v110) is not installed or invalid........." This is triggered from C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x64.Targets (507, 5). I am sharing this just in case someone else encounters the same issue. Ref. http://stackoverflow.com/questions/10280956/how-to-use-msbuild-to-target -v110-platform-toolset Regards, Andrew Kariuki App Dev Env - London +44 20 7883 8499 (*443 8499) ------------------------------ Message: 3 Date: Mon, 4 Mar 2013 18:11:18 -0000 From: "Kariuki, Andrew" <andrew.kari...@credit-suisse.com> Subject: Re: [WiX-devs] Locally Built x64 Heat.exe Throws "Could not load file or assembly 'heat, Version=4.0.0.0, Culture=neutral, PublicKeyToken=c9acf360d0e036e3'" Error To: <wix-us...@lists.sourceforge.net>, <wix-devs@lists.sourceforge.net> Message-ID: <e81f4a4cfc2e2b4c91b7b192c4eebcea166bd...@elon17p32006a.csfb.cs-group.co m> Content-Type: text/plain; charset=US-ASCII Hi Rob and Wix Family, Thank you very much for simplifying Wix Toolset building (from version 3.7). I have managed to build a local copy of Heat.exe targeting x64. However, I get the following error when I run it: System.IO.FileLoadException was unhandled Message: Could not load file or assembly 'heat, Version=4.0.0.0, Culture=neutral, PublicKeyToken=c9acf360d0e036e3' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A) I noticed that the "Delay Sign only" flag is set to true. I tried using SN tool to re-sign Heat.exe assembly as follows: SN -R heat.exe ..\..\..\tools\publickey_wix.snk This fails with: Failed to extract public key from key pair -- Bad Version of provider. How can I successfully build a working copy of heat.exe that targets 64-Bit platform? Your help is greatly appreciated Wix community. Best regards, Andrew Kariuki App Dev Env - London +44 20 7883 8499 (*443 8499) ======================================================================== ======= Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html ======================================================================== ======= ------------------------------ Message: 4 Date: Mon, 4 Mar 2013 12:24:06 -0800 From: Rob Mensching <r...@robmensching.com> Subject: Re: [WiX-devs] Locally Built x64 Heat.exe Throws "Could not load file or assembly 'heat, Version=4.0.0.0, Culture=neutral, PublicKeyToken=c9acf360d0e036e3'" Error To: Windows Installer XML toolset developer mailing list <wix-devs@lists.sourceforge.net> Cc: "General discussion for Windows Installer XML toolset." <wix-us...@lists.sourceforge.net> Message-ID: <cahdhtvfhsjdkjz-ig7wclnsaah54bpua81_axigzubkrw2e...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Msbuild the tools\OneTimeWixBuildInitialization.proj elevated once. On Mon, Mar 4, 2013 at 10:11 AM, Kariuki, Andrew < andrew.kari...@credit-suisse.com> wrote: > Hi Rob and Wix Family, > > Thank you very much for simplifying Wix Toolset building (from version > 3.7). > > I have managed to build a local copy of Heat.exe targeting x64. However, > I get the following error when I run it: > > System.IO.FileLoadException was unhandled > Message: Could not load file or assembly 'heat, Version=4.0.0.0, > Culture=neutral, PublicKeyToken=c9acf360d0e036e3' or one of its > dependencies. Strong name validation failed. (Exception from HRESULT: > 0x8013141A) > > I noticed that the "Delay Sign only" flag is set to true. I tried using > SN tool to re-sign Heat.exe assembly as follows: > > SN -R heat.exe ..\..\..\tools\publickey_wix.snk > > This fails with: Failed to extract public key from key pair -- Bad > Version of provider. > > How can I successfully build a working copy of heat.exe that targets > 64-Bit platform? > > Your help is greatly appreciated Wix community. > > Best regards, > > Andrew Kariuki > App Dev Env - London > +44 20 7883 8499 (*443 8499) > > > > ======================================================================== ======= > Please access the attached hyperlink for an important electronic > communications disclaimer: > http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html > > ======================================================================== ======= > > > > ------------------------------------------------------------------------ ------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > WiX-devs mailing list > WiX-devs@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-devs > > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------------------------------------------------ ------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ------------------------------ _______________________________________________ WiX-devs mailing list WiX-devs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-devs End of WiX-devs Digest, Vol 78, Issue 3 *************************************** =============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html =============================================================================== ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ WiX-devs mailing list WiX-devs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-devs