I was able to figure this out and have a working version. The key was simply to filter the BuiltProjectOutputGroupDependencies ItemGroup based on the CopyLocal metatdata. Can i just post some code or is it necessary to go through the sign an agreement submit a patch to the dev list type routine.
steve -------- Original Message -------- From: "Steve Baker" <steve.ba...@paradigm-group.net> Sent: Wednesday, October 28, 2009 12:55 PM To: "Brian Rogers" <rogers.br...@gmail.com>, "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Subject: Re: [WiX-users] HeatProject yes, i think... what i am looking for, in the given sample, is not just the webui.dll to be added but all dependent assemblies it requires, basically the contents of the bin directory after compiling a web application project. looking at the code in VSProjectHarvester that generates the wxs for a project it looks like simply adding a new ProjectOutputGroup to grab dependencies would be the starting point... private static readonly ProjectOutputGroup[] allOutputGroups = new ProjectOutputGroup[] { new ProjectOutputGroup("BinaryDependencies", "BuiltProjectOutputGroupDependencies", "TargetDir"), new ProjectOutputGroup("Binaries", "BuiltProjectOutputGroup", "TargetDir"), however in preliminary testing i noticed that BuiltProjectOutputGroupDependencies seems to return every dll recursively down the dependency stack, better than none, but there is probably a way to filter the output or a better target to call that will ignore GAC'ed assemblies and such. I'll have a look into _DeploymentComputeClickOnceManifestInfo to see if i can figure something out. Steve -------- Original Message -------- From: "Brian Rogers" <rogers.br...@gmail.com> Sent: Wednesday, October 28, 2009 11:48 AM To: steve.ba...@paradigm-group.net, "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Subject: Re: [WiX-users] HeatProject Hey Steve, When you say dependent, do you mean references to your the project you are harvesting? If so, heat does not walk the dependency tree to find other files that are required for your project. I believe this is a feature request. If that isn't want you mean, let me know. Thanks, Brian Rogers "Intelligence removes complexity." - Me http://blogs.msdn.com/icumove <-- NEW On Wed, Oct 28, 2009 at 8:36 AM, Steve Baker <steve.ba...@paradigm-group.net > wrote: > I have setup the following ItemGroup in a wixproj and found that the > HarvestProjects target does indeed call heat and the output that is > generated is great. Except... > > It doesn't seem to include any of the dependent assemblies the main dll > needs? > > Am I doing something wrong? I have had a hard time even finding a mention > of the HarvestProjects target. If the project harvester just needs to be > updated I'd be willing to take a look and submit a patch. > > <ItemGroup> > <HeatProject Include="..\webui\webui.vbproj"> > <ProjectOutputGroups>Binaries;Content</ProjectOutputGroups> > </HeatProject> > </ItemGroup> > > TIA, > > steve > > > > ---------------------------------------------------------------------------- -- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users