XBAP Clear cache from application
Domanda
Is there a way to clear the cache from Xbap application instead of running mage or rundll32 from command prompt??
Soluzione
As far as I know the only available tool is 'mage -cc'.
http://www.vistax64.com/avalon/11917-xbap-applciation-issues.html
Altri suggerimenti
Programmaticaly you can use this:
new System.Deployment.Application.DeploymentServiceCom().CleanOnlineAppCache();
Don't forget about your app rights.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow