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&#174; 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

Reply via email to