Preserve data when deploying Xamarin.Android app

By default all your data from your previous runs is deleted when you’re deploying an Xamarin.Android app. In many cases you don’t want the data to be deleted.

Visual Studio
To preserve data go to Tools -> Options -> Xamarin -> Android Settings and check “Preserve application data/cache on device between deploys”.Visual Studio

Xamarin Studio
To preserve data go to Tools -> Options -> Android and check “Preserve data/cache between application deploys”.
Xamarin Studio

One thought on “Preserve data when deploying Xamarin.Android app

  1. Fredy Wenger says:

    Hi Daniel
    Thanks for your blog.
    I don’t have known this option and have set it now 🙂
    You should announce it in the Xamarin.Forms forum.
    Or – if you want – I will do it for you, if you want.
    If you want, that I do, please send me a mail 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *