Xamarin Forms app not updating after deploy

Information:

Xamarin Forms has an intermittent bug where an app will build and successfully deploy, but when checking the app of the device/emulator, the app hasn't updated at all and remains running an old version of the app. The solution to this lies within the bin folder of your project.

The problem seem to happen regardless of the version of Visual Studio or Xamarin and hits a single project specifically so this tells us that the issue has altered something within the project and not within the Visual Studio installation.

Before you begin, uninstall all versions of the apps from all emulators and devices you use to test the app, this will ensure that once we've corrected the issue, it'll be able to fresh install instead of update.

The fix:

Once uninstalled, navigate to the solution folder on your disk drive and open the folder of the project that this issue effects, you'll need to delete both the Debug and Release folders from both the bin and obj folders. You should now be able to deploy the project to a device or emulator without issue and it should be the latest version.

Further Reading:

See the following thread on the Xamarin forums for more info:

https://forums.xamarin.com/discussion/45327/newest-version-of-code-not-always-deployed-when-debugging-from-xamarin-studio


By Luke Alderton at 25 Jul 2017, 12:01 PM

Tags: Xamarin,Xamarin Forms,Android,C#,Visual Studio

Comments

Post a comment
Sit tight...
We're adding your comment.
Thank you.
Your comment has been added.
There's been a problem.
Please try again later.
Share with
Tags
Latest Comments
By dipbleds on Raspberry Pi - Bluetooth using Bluecove on Raspbian
12 Dec 2017, 21:29 PM
By Ich on Replacing the Xamarin Header/Navigation bar with a custom view/template
26 Nov 2017, 17:11 PM
By Ravi Motha on My experience at Umbraco UK Festival 2017
12 Dec 2017, 08:39 AM
By Borges on How to add a Xamarin Forms Loading Screen/Overlay
7 Nov 2017, 19:11 PM
By Rutul Mehta on Auto/Custom height on Xamarin Forms WebView for Android and iOS
4 Nov 2017, 03:15 AM
By Pablo on Xamarin MasterDetailPage has large margin/padding at top
26 Oct 2017, 15:31 PM
By faiza on Using MaryTTS or OpenMary in Java
22 Oct 2017, 12:54 PM
By Nietoperz on Using MaryTTS or OpenMary in Java
29 Sep 2017, 14:34 PM
Categories
App Development
Event
Game Development
Mapping
Modelling
Programming
Review
Robotics
Tutorial
Web Development