Bugs item #1848919, was opened at 2007-12-11 13:26 Message generated for change (Comment added) made by pmarcu 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: v3.0 >Status: Pending >Resolution: Duplicate Priority: 8 Private: No Submitted By: Eric Bickle (shadowchaser) >Assigned to: pmarcu (pmarcu) 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. ---------------------------------------------------------------------- >Comment By: pmarcu (pmarcu) Date: 2007-12-18 15:02 Message: Logged In: YES user_id=1612676 Originator: NO This was fixed a couple weeks ago. You'll have to pick up a recent build or wait for the next build if its not in that latest one out there now. ---------------------------------------------------------------------- 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
