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.