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


Published at

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

Luke Alderton

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 Cary on MVC forms in Umbraco
12 Aug 2018, 02:58 AM
By Naufil on How to open a modal window for a custom datatype in the Umbraco back office
30 Jul 2018, 12:40 PM
By Trevor on Replacing the Xamarin Header/Navigation bar with a custom view/template
19 Jul 2018, 18:36 PM
By Luke on Setting up tables in SQLite with a primary key on a Xamarin Forms app
11 Jul 2018, 09:18 AM
By Travis on Setting up tables in SQLite with a primary key on a Xamarin Forms app
7 Jul 2018, 15:44 PM
By Luke on Auto/Custom height on Xamarin Forms WebView for Android and iOS
15 Jun 2018, 09:43 AM
By vikki on Auto/Custom height on Xamarin Forms WebView for Android and iOS
14 Jun 2018, 13:35 PM
By jimbo on JQuery Unobtrusive Validation for dynamically created elements
13 Jun 2018, 17:13 PM
Categories
App Development
Event
Game Development
Mapping
Modelling
Programming
Review
Robotics
Tutorial
Web Development