Recommendations for clearing out ClickOnce deployment junk

Stuart Hallows picture Stuart Hallows · Mar 3, 2009 · Viewed 18.1k times · Source

.NET ClickOnce applications get deployed into a subfolder of C:\Documents and Settings\\Local Settings\Apps\2.0. In development we tend to make a large number of small changes and with regular deployments a lot of junk can accumulate into this folder. Surprisingly 'Delete Temporary Internet Files' does not remove old stuff from this folder. Does anyone know if Windows / .NET takes any steps to remove stuff from here or does it just go on accumulating. Thanks!

Answer

William picture William · Mar 15, 2011
rundll32 %windir%\system32\dfshim.dll CleanOnlineAppCache