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 PS on Replacing the Xamarin Header/Navigation bar with a custom view/template
16 Apr 2018, 07:53 AM
By Srusti Thakkar on How to add a Xamarin Forms Loading Screen/Overlay
27 Mar 2018, 18:22 PM
By Luke on How to add a Xamarin Forms Loading Screen/Overlay
23 Mar 2018, 15:03 PM
By Srusti Thakkar on How to add a Xamarin Forms Loading Screen/Overlay
23 Mar 2018, 13:16 PM
By Marco Teodoro on Custom section tree nodes and routes - Umbraco
21 Mar 2018, 11:08 AM
By ttt asd on Limit Google Autocomplete results to country and city
20 Mar 2018, 11:53 AM
By hamid on Limit Google Autocomplete results to country and city
19 Mar 2018, 21:13 PM
By matt on Auto/Custom height on Xamarin Forms WebView for Android and iOS
17 Mar 2018, 02:18 AM
Categories
App Development
Event
Game Development
Mapping
Modelling
Programming
Review
Robotics
Tutorial
Web Development