I am afraid that is how heat works, it only finds the primary output and no referenced assemblies. If you want the referenced assemblies then you have to heat those projects or files independently.
Personally I think this is major limitation of heat and makes the new Harvest feature in WiX v3.5's Votive (http://robmensching.com/blog/posts/2010/2/19/WiX-v3.5-now-supports-Visu al-Studio-2010-RC) very limiting. Hopefully this can be resolved at some point (I have taken a look at the code and can't see a solution to it myself). Neil -----Original Message----- From: Bill McCormick (LIST) [mailto:wpmccorm...@ace-co.com] Sent: 29 March 2010 17:21 To: WiX Subject: [WiX-users] how to use heat to harvest VS projects I'm trying to understand how to use the project switch with heat. I made a test project whose binary output includes a Windows form application and a DLL class library. When I build the Test project I have a Test.exe and a ClassLibrary1.dll in the bin directory. I then run heat like this: $ heat project Test.csproj -pog:Binaries -ag -template:fragment -out Test.wxs In the Test.wxs file: <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <DirectoryRef Id="Test.Binaries"> <Component Id="cmp2F99CCE204223917D7EF255085458FB9" Guid="*"> <File Id="fil3480738170913E4A272FDF51D7CD77AE" Source="$(var.Test.TargetDir)\Test.exe" /> </Component> </DirectoryRef> </Fragment> <Fragment> <ComponentGroup Id="Test.Binaries"> <ComponentRef Id="cmp2F99CCE204223917D7EF255085458FB9" /> </ComponentGroup> </Fragment> </Wix> there is no reference to the ClassLibrary1.dll. Is this correct? I posted a similar question last week but didn't get much feedback, except for one user saying they only use the dir switch. So I'm trying the question again in a more direct way: How can heat be used to harvest VS projects? Thanks, Bill ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users