It looks like it is a bug in CandleTask.cs, the code is not returning
any source files to build if the rebuild="true" flag is set. I think
NeedsRebuilding() should look like this:
protected override bool NeedsRebuilding()
{
// Check the base class.
if (base.NeedsRebuilding())
{
// Add all of the sources to the out of date collection.
string[] sourcesArray = new
string[this.Sources.FileNames.Count];
this.Sources.FileNames.CopyTo(sourcesArray, 0);
this.outOfDateSources.AddRange(sourcesArray);
}
else
{
// We need to rebuild if we have any source files that
are newer than the targets.
this.CalculateOutOfDateSources();
}
return (this.outOfDateSources.Count > 0);
}
I have raises a bug report for this:
http://sourceforge.net/tracker/index.php?func=detail&aid=1715295&group_i
d=105970&atid=642714
Neil
PS I have signed the assignment agreement but have never been contacted
to inform me how to officially submit code changes.
From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: 08 May 2007 15:26
To: Neil Sleightholm
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WiX3 Nant Tasks
Neil Sleightholm wrote:
Has anyone got the nant tasks to work with WiX V3? My nant task looks
like this:
The WiX build uses them extensively. Which version of WiX are you using?
It shouldn't matter as any build in which the WiX tasks were broken
wouldn't have built and been released, but...
--
sig://boB
http://joyofsetup.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users