With the proviso that WiX is installed on all of my build servers: 1) I use express references to projects containing assemblies that the wixproj will consume in the wixproj
2) I use Votive macros to layout the paths to all of my assemblies. I never attempt to guess where the assembly will be as this is usually different on developer and build server environments 3) for slow MSBuild targets (such as ZIPping up assemblies into plugins for some of our clients, I work hard to ensure that all such targets have Inputs and Outputs attributes. This helps prevent these targets from "over-running" their parent projects and perhaps not having their outputs ready for consumption by the wixproj when the wixproj runs. 4) I stuff all of my content into a separate wixlib prior to the run of the main installer wixproj. The setup wixproj then links to the wixlib, and all the assembly projects are added as express references to the wixlib wixproj. -- John Merryweather Cooper Build & Install Engineer - ESA Jack Henry & Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -----Original Message----- From: Tony [mailto:yellowjacketl...@gmail.com] Sent: Wednesday, May 28, 2014 3:56 PM To: WiX Users Subject: [WiX-users] Build order problems Votive vs MSBuild We've run into this issue in which it appears as though our .sln builds correctly when built through VS (Votive installed), but when built using MSBuild, the WiX project dependencies appear to be ignored. This results in a build order problem (csproj is built _after_ wixproj that needs its output). If the build order is forced (manually add a dependency in the sln file), the MSBuild build works fine. As such, it appears as if MSBuild is used on the .sln, the auto generated project dependency list (and thus build order) is not correct. NOTE: We do NOT have WiX installed on our build server. I have modified our wixproj files per http://wixtoolset.org/documentation/manual/v3/msbuild/daily_builds.html. I found an old thread titled "Problem with build order under MSBuild 4.0" (4/14/10) that describes an identical issue. And another thread titled "Wix3.6.1518.0 to 3.6.1915.0 issue" (7/20/11) in which this bug http://sourceforge.net/p/wix/bugs/2588/ is linked. But I can't tell if the bug was fixed or just closed. Any ideas? VS/TFS2012, Wix 3.8 -- Tony ------------------------------------------------------------------------------ Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users