WPF Browser Application Cache Problems




If you're having issues with your WPF Browser app's having old versions being cached - most noticeably during development, when you make a change, debug the app from Visual Studio (by pressing F5) and your changes do not appear in the version loaded in your browser - then you will need to clear your Application Cache before your new version will be loaded.

To do this simply run the following command from the Visual Studio command line:  Mage.exe -cc

This will clear the application cache, and make sure the next time you run the app, the latest version will be downloaded.

This drove me nuts for a while, but running this command solved all caching issues.



 del.icio.us  Stumbleupon  Technorati  Digg 

 

What did you think of this article?




Trackbacks
  • No trackbacks exist for this entry.
Comments

Leave a comment

 Enter the above security code (required)

 Name

 Email (will not be published)

 Website

Your comment is 0 characters limited to 3000 characters.