Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 14172 [details]
The page to demonstrate the bug
Test Device: Nexus 6
OS version: Android 6.0
If you set the project Linker's link behaviour to "Link SDK assemblies only" or "Link all" (basically that means if you use the linker), the data in Xamarin.Forms.Application.Current.Properties can't be persistent to disk.
I uploaded the testing code as attachment.
Steps to reproduce:
1. Build the app, make sure the Linker behaviour is "Link SDK assemblies only"
2. Start the app, then click button.
3. Force quite the app
4. Start the app again, you will see the data has not been saved successfully.
See also: bug 36771
Seems to be an issue with the linker
*** Bug 36771 has been marked as a duplicate of this bug. ***
same issue, any update?
Same problem here.
Our customers complain about that :(
Any news about that ? I need it to be corrected please :/ Customers are still complaining about that !
I can confirm that this bug is still present in Xamarin.Forms 188.8.131.52.
I reported this bug on December 2015 and still it is not fixed after more than 6 months!
BTW, that same problem I still have with quite a bunch of bugs (including demo solutions) that I reported to Xamarin. You just get a "thanks for reporting that bug" - but nether a fix...
I am sorry, it slipped under my radar.
Could you please attach whole project, which reproduces this bug?
Created attachment 16890 [details]
Steps to reproduce using this demo solution:
1. Build the app in Release configuration (= linker property "Linking" is set to "Sdk Assemblies Only")
2. Start the app and change the URL
3. Force quite the app
4. Start the app again and you will see your changes to the URL have not been persisted
Thanks for the info. I was able to replicate it. I can give you workaround, before the bug is fixed.
You can either add System.Runtime.Serialization assembly to list of ignored assemblies by linker, or add attached file to your project and set build action to LinkDescription.
Created attachment 16959 [details]
link description file
Thnaks Radek! I tried your workaround using the link description file and it works for me.
This should be now fixed in master and C9 by ae7d535efa3749ddf2f8e47b2f08f56f1d87e166
I can reproduce this issue with the steps given in comment 9, with latest
C9 = xamarin.android-7.0.99-121_cf2beeaf61722a06763b2935ca84a81365c8e6b7
Master = xamarin.android-7.0.99-121_cf2beeaf61722a06763b2935ca84a81365c8e6b7
This issue still exist i.e. changes in url does not appear even we clean and rebuild app again and then deploy it on device. And changes appear when we uninstall app from device and then re-deploy it.
As of now, I am reopening this issue.
I have retested with current master and it works OK for me. Could you please retest it with current master?
This bug stil exists on Xamarin for Visual Studio.
Microsoft Visual Studio Community 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Installed Version: Community
Visual Basic 2015 00322-20000-00000-AA797
Microsoft Visual Basic 2015
Visual C# 2015 00322-20000-00000-AA797
Microsoft Visual C# 2015
Visual C++ 2015 00322-20000-00000-AA797
Microsoft Visual C++ 2015
Application Insights Tools for Visual Studio Package 7.17.00119.9
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2015.1 (Beta8) 14.1.11107.0
ASP.NET and Web Tools 2015.1 (Beta8)
ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.2.40314.0
For additional information, visit http://www.asp.net/
Command Bus, Event Stream and Async Manager Merq
Provides ICommandBus, IEventStream and IAsyncManager MEF services for loosely coupled Visual Studio extension components communication and integration.
Common Azure Tools 1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools
NuGet Package Manager 3.4.4
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 14.0.60519.0
Microsoft SQL Server Data Tools
TypeScript tools for Visual Studio
Visual Studio Tools for Universal Windows Apps 14.0.25527.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
Xamarin 184.108.40.206 (00fa5cc)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android 220.127.116.11 (501e63c)
Visual Studio extension to enable development for Xamarin.Android.
Xamarin.iOS 10.3.1.8 (7beaef4)
Visual Studio extension to enable development for Xamarin.iOS.
I have the same problem... Android 6...
There is an ETA to solve this problem?
This was fixed long ago. Are you sure you use latest Xamarin.Android?
=== Visual Studio Community 2017 for Mac ===
Version 7.1 (build 1297)
Installation UUID: e9c85728-289a-4de3-8442-d551ea358311
Mono 18.104.22.168 (d15-3/da80840) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 502000215
=== NuGet ===
=== .NET Core ===
SDK Version: 1.0.3
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/msbuild/15.0/bin/Sdks
=== Xamarin.Profiler ===
Percorso: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Apple Developer Tools ===
Xcode 8.3.3 (12175.1)
=== Xamarin.iOS ===
Version: 10.12.0.20 (Visual Studio Community)
Build date: 2017-08-18 16:07:26-0400
=== Xamarin.Android ===
Versione: 22.214.171.124 (Visual Studio Community)
Android SDK: /Users/alessandrocaliaro/Library/Developer/Xamarin/android-sdk-macosx
Versione di Android supportate:
6.0 (livello API 23)
7.1 (livello API 25)
Versione degli strumenti SDK: 25.2.5
Versione degli strumenti della piattaforma SDK: 25.0.6
Versione degli strumenti di compilazione SDK: 25.0.3
Java SDK: /usr
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
Il codice EPL di Android Designer è disponibile qui:
=== Xamarin Inspector ===
Build date: Fri, 21 Apr 2017 17:57:12 GMT
=== Xamarin.Mac ===
Version: 126.96.36.199 (Visual Studio Community)
=== Build Information ===
Release ID: 701001297
Git revision: 9c5299666538b2f8baf501418a5c064d784d64da
Build date: 2017-08-07 11:29:35-04
Xamarin addins: 3bb0c32a14f1b7e368bf5ac53a84c3581c019391
Build lane: monodevelop-lion-d15-3
=== Operating System ===
Mac OS X 10.12.6
Darwin 16.7.0 Darwin Kernel Version 16.7.0
Thu Jun 15 17:36:27 PDT 2017
Please try to update. I see XA 188.8.131.52 in the stable channel. If it doesn't help, attach a project which reproduces the issue and steps to reproduce it.