Bugs item #1848919, was opened at 2007-12-11 13:26 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1848919&group_id=105970
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: msbuild Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Eric Bickle (shadowchaser) Assigned to: Nobody/Anonymous (nobody) Summary: Clean task deletes files from all configurations Initial Comment: Executing a "Clean" or "Rebuild" using Votive or MSBuild deletes files from *all* solutions, not just the active one. For example: * Create a new Wix project using Votive * Open WixProject1.wxs * Add "<CreateFolder />" to middle of component * Switch to "Debug" configuration * Run build * Verify WixProject1.msi was created in "bin\Debug" directory. * Switch to "Release" configuration. * Run rebuild (or clean) * bin\Debug\WixProject1.msi was deleted when the release configuration was built!!! Needless to say, this is extremely aggrivating when setting up a build server and having MSI packages vanish out of thin air :-) /wix/src/WixTasks/wix.targets has a fundamental design flaw in it. When a build happens, it writes a list of the files it modified to $(MSBuildProjectFile).FileList.txt. The "CoreClean" task loads the filelist into the "_CleanPriorFileWrites" item, then calls <Delete> on that list. No consideration is made as to which configuration built the files. To fix this, a separate file list must be kept for each configuration. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1848919&group_id=105970 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
