Welcome to MSDN Blogs Sign in | Join | Help

SYSK 159: How to Clear ClickOnce Application Cache

ClickOnce installed apps are hidden deep under \Document and Settings\UserName\ \Local Settings\Application Data\CompanyName\ApplicationName_StrongName\ApplicationVersion\...

 

If you want to remove a ClickOnce application, you should use Add/Remove Programs in Control Panel.  However, I’ve seen cases where that method just doesn’t work, and you might get “Application cannot be started” message…  In this case, you can run Mage.exe –cc command to clear the application cache on that machine.  The mage.exe utility comes with .NET Framework SDK…  Beware:  it will clear the entire application cache, not only for the failing application!

 

Published Wednesday, July 19, 2006 6:32 AM by irenak

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# SYSK 159: How to Clear ClickOnce Application Cache » Wagalulu - Microsoft » » SYSK 159: How to Clear ClickOnce Application Cache

# Das nie endende Chaos! » Blog Archive » ClickOnce ApplicationCache oder .xbap Cache l??schen

# re: SYSK 159: How to Clear ClickOnce Application Cache

Tuesday, August 07, 2007 4:26 PM by Scott D Glass

Hi, I'm finding situations where the mage tool using the -cc option doesn't completely clear the cache. I've had to manually clear the folder, which was a little scary. Is there a better way of doing this?

Thanks, Scott

# How to start an application from another application? | keyongtech

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker