Replies: 1 comment
|
Those sound like bugs. I'd have to double check |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Question
Observed with WixToolset.Sdk 5.0.2 (MSBuild 18.9, Windows):
MSBuild /t:Cleandeletes the MSI/wixpdb but leaves two kinds of bind intermediates behind in$(IntermediateOutputPath):cabcache\#cab1.cab(with<ReuseCabinetCache>true</ReuseCabinetCache>)WixToolset.UI.wixext_<hash>\wix-ir\*(resources extracted from extension wixlibs: ico/bmp/rtf, custom action.dll-Nfiles)Minimal repro - three files:
ReproMsi.wixproj:Package.wxs:payload.txt: any content.After Clean,
obj\Releasestill containscabcache\#cab1.caband the wholeWixToolset.UI.wixext_HAq...\wix-ir\tree (msi/wixpdb/BindTracking are correctly gone).Why it happens (from the wix sources): both file kinds are written to the
BindTracking-neutral.txtfile, but typedIntermediate:ReadTracking.Outputsonly surfacesBuiltOutputs + CopiedOutputs(ReadTracking.cs), andUpdateFileWritesWithBindInformationinwix.targetsfeeds onlyOutputsinto@(FileWrites)- soIntermediate-typed entries never reachCoreCleanand survive every Clean.Question: is that by design or a bug?
cabcacheI can imagine a "caches survive clean" argument (though Clean is normally expected to reset build state).wix-irextractions I can't:ExtractEmbeddedFilesCommandre-extracts unconditionally on every bind (ExtractToFile(overwrite: true)), so a surviving copy is never reused as-is - it's just a stale leftover.If you consider it a bug I'm happy to turn this into a proper issue. Our current workaround in the wixproj:
Open Source Maintenance Fee
wixtoolsetproject because I support the maintainers.All reactions