XBAP Clear cache from application
Вопрос
Is there a way to clear the cache from Xbap application instead of running mage or rundll32 from command prompt??
Решение
As far as I know the only available tool is 'mage -cc'.
http://www.vistax64.com/avalon/11917-xbap-applciation-issues.html
Другие советы
Programmaticaly you can use this:
new System.Deployment.Application.DeploymentServiceCom().CleanOnlineAppCache();
Don't forget about your app rights.
Не связан с StackOverflow