Hi All,

I am having a problem with the HeatProject MSBuild task. I get an error when I 
specify an item group that has more than one item as the value for the Project 
attribute for the HeatProject MSBuild task. I am using WiX version 3.0.5419.0 
and Visual Studio 2008.

Example:
<!-- Code (SetupProject.wixproj) -->
<ItemGroup>
        <ProjectReference Include=".\MyProjectA.csproj">
                <Name>MyProjectA</Name>
            <Project>{59FB083D-C11C-4690-A128-28F5269125D4}</Project>
            <Private>True</Private>
        </ProjectReference>
        <ProjectReference Include=".\MyProjectB.csproj">
                <Name>MyProjectB</Name>
                <Project>{51E780E5-CCB9-425A-8225-65F05748F8A5}</Project>
                <Private>True</Private>
        </ProjectReference>
</ItemGroup>

<Target Name="BeforeBuild">
        <HeatProject Project="@(ProjectReference->'%(FullPath)')" 
ProjectOutputGroups="Content;Binaries;Satellites " 
OutputFile="$(OutputFilepath)"             ToolPath="$(WixToolPath)" />
</Target>

<!- Error Message -->
Error   1       C:\MyProject\MyProjectA.csproj;C:\MyProject\MyProjectB.csproj   
heat.exe        0       1       SetupProject

I checked the documentation and it specifies that the Project attribute takes 
an item group as a value to specify a list of projectS to harvest.
http://wix.sourceforge.net/manual-wix3/msbuild_task_reference_heatproject.htm
Oddly it will accept both an item group with one item and a property.

I have checked for the target reference for the HeatProject task and all I get 
is a blank entry.
http://wix.sourceforge.net/manual-wix3/msbuild_target_reference_harvestprojects.htm

Can anyone see what it is that I'm doing wrong?

Thanks!
-- 
Proinsias

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to