For the record and the benefit of future generations, I overcame my problem by
switching from using <Target Name="BeforeBuild"><HeatProject... etc, to using
HarvestProjects Target as follows:
<PropertyGroup>
<EnableProjectHarvesting>True</EnableProjectHarvesting>
<HarvestProjectsAutogenerateGuids>False</HarvestProjectsAutogenerateGuids>
<HarvestProjectsGenerateGuidsNow>True</HarvestProjectsGenerateGuidsNow>
</PropertyGroup>
<ItemGroup>
<HeatProject Include="..\samples\csharp\DSVDemo\DSVDemo.csproj">
<ProjectOutputGroups>Sources;Content</ProjectOutputGroups>
<Transforms>DSV-Testing.xslt</Transforms>
</HeatProject>
</ItemGroup>
------------------------------
Date: Wed, 19 Feb 2014 16:02:07 +0000
From: "Parkes, Kevin" <[email protected]>
Subject: [WiX-users] HeatProject
To: "[email protected]"
<[email protected]>
Message-ID:
<11e0c4e42591194ca3be60b5764f7b43b6346...@weg-exch1.wacom-europe.loc>
Content-Type: text/plain; charset="us-ascii"
I'm trying to include a "sample" C# project in my installer using HeatProject
as follows:
<Target Name="BeforeBuild">
<HeatProject
OutputFile="$(IntermediateOutputPath)_DSVDemo.wxs"
ToolPath="$(WixToolPath)"
Project="..\samples\csharp\DSVDemo\DSVDemo.csproj"
ProjectOutputGroups="Sources;Content"
Transforms="DSV-Testing.xslt"
AutogenerateGuids="false"
GenerateGuidsNow="true"
SuppressFragments="true"
/>
</Target>
The output file, _DVSDemo.wxs, is being created but apparently not compiled and
included in the installer, leading to "Unresolved reference" errors for the
component groups in _DVSDemo.wxs.
What am I missing?
Thanks
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users