Search code examples
visual-studio-2012xamarin.androidxamarinxamarin-studio

Wrong build being deployed on Android device using Visual Studio 2012 Xamarin.Android


I am using Visual Studio 2012 and Xamarin.Android Beta release to develop an Android application. When I try to deploy the android application for debugging purposes onto an Android device, it deploys the previously built application on the device and not the recent changes I made and deployed (i.e No refresh of build). However, if I use Xamarin Studio to do the same, it deploys the correct build everytime (i.e refreshes the build with new code changes).

Any idea why this is happening?

Thanks in advance!


Solution

  • I had the same problem. My solution was to add "deploy" to the build configuration:

    BUILD => Configuration Manager... => (select "Debug" from left-hand combo-box) => (tick "Deploy" in grid)

    Courtesy of this xamarin forum post.