问题
Is there a way to clear the cache from Xbap application instead of running mage or rundll32 from command prompt??
回答1:
As far as I know the only available tool is 'mage -cc'.
http://www.vistax64.com/avalon/11917-xbap-applciation-issues.html
回答2:
Programmaticaly you can use this:
new System.Deployment.Application.DeploymentServiceCom().CleanOnlineAppCache();
original
Don't forget about your app rights.
来源:https://stackoverflow.com/questions/11774838/xbap-clear-cache-from-application