Yes, wix2010.targets creates preprocessor variables for the referenced .sqlproj *if and only if* the referencing .wixproj (and its containing .sln) are building in Visual Studio.
If the referencing .wixproj (and its containing .sln) are building on the command line using MSBuild, then wix2010.targets does *not* create preprocessor variables for the referenced .sqlproj. Edwin G. Castro Software Developer - Staff Digital Channels Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail > -----Original Message----- > From: Bob Arnson [mailto:b...@joyofsetup.com] > Sent: Thursday, August 30, 2012 6:34 AM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] FW: WiX using with MSBuild can't reference other > project: error CNDL0150: Undefined preprocessor variable > > On 27-Aug-12 13:32, Castro, Edwin G. (Hillsboro) wrote: > > ShowTargetPath: > > ShowTargetPath: D:\svn\sample\sample\bin\Debug\sample.dll > Does wix2010.targets create any preprocessor variables for the .sqlproj? > It mostly relies on metadata that other targets have set. > > -- > sig://boB > http://joyofsetup.com/ > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users