The fix I have in my wix.targets is this for the Compile target:
<Target
Name="Compile"
Inputs="@(Compile);$(MSBuildAllProjects)"
Outputs="@(Compile->'$(IntermediateOutputPath)%(Filename)$(IntermediateE
xt)')"
DependsOnTargets="$(CompileDependsOn)">
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Lalande
Sent: Monday, May 14, 2007 4:02 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] multiple source files to candle
The help information for candle indicates that I can specify more than
one sourceFile argument and only specify one outputFile argument.
usage: candle.exe [-?] [-nologo] [-out outputFile] sourceFile
[sourceFile ...]
However when I attempt something like:
C:\>candle -out ab.wixobj a.wxs b.wxs
I get the following error:
candle.exe : error CNDL0001 : cannot specify more than one source file
with single output file. Either specify an output directory for the
-out argument by ending the argument with a '\' or remove the -out
argument to have the source files compiled to the current directory.
Parameter name: -out
This certainly has valid workarounds that I have employed in my build
scripts, but our daily integration build process uses msbuild and I
would really like to use wix.targets in our builds. But it also has
this candle "problem". If I create more than one "Compile" item and
specify a single "CompileObjOutput" item, my msbuild script aborts with
the same error message as above.
There isn't any documentation for wix.targets v2.0.4820.0 (which is what
I am using), but there's some in the 3.0.2420.0 version that indicate
that what I am attempting is indeed correct.
Am I missing something painfully obvious or is this simply broken? I am
more likely to believe that I am missing something yet I cannot find
what it might be by reading documentation, googling or searching this
mailing list.
Does anyone here know what I am doing wrong or not understanding?
John
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an intended
recipient then please promptly delete this e-mail and any attachment and all
copies and inform the sender. Thank you.
-------------------------------------------------------------------------
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