Take a look at your solution level configuration options. My guess is that 'Any 
CPU' is setup to only build C#/VB/etc projects. You probably have a 'Mixed 
Platforms' configuration that also includes the WiX projects. My guess is that 
the IDE is choosing 'Mixed Platforms' as the default while building rather than 
'Any CPU'.

Edwin G. Castro
Software Developer - Staff
Electronic Banking Services
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
Please consider the environment before printing this e-mail

> -----Original Message-----
> From: Kurt Jensen [mailto:kurt.jen...@ophir-spiricon.com]
> Sent: Monday, May 17, 2010 2:05 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] msbuild command line parameters
> 
> I'm trying to build my wixproj in msbuild.  The solution
> ConfigurationToBuild is "Release|Any CPU".  Inside of my configuration
> the wixproj is built as "Release|x86".
> 
> 
> 
> In my wixproj I have a 'Release|x86' PropertyGroup that includes
> <DefineConstants>.  But none of the DefineConstants are being included
> on the command line to candle during the build.  The PropertyGroup and
> DefineConstants work fine in the IDE.  In the build log I verified that
> the command line  contains -dConfiguration=Release and -dPlatform=x86.
> 
> 
> 
> Any idea how to get the wixproj DefineConstants passed to candle in
> msbuild?
> 
> 
> 
> Kurt Jensen
> 
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> 
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
> 
> www.clearswift.com
> **********************************************************************
> 
> 
> -----------------------------------------------------------------------
> -------
> 
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to