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 24140 [details]
Seems like newly introduced <On> tag for setting value depending on platform doesn't work on UWP with .Net native tool chain enabled:
For example if we set TextColor this way :
value is not applied to the control,
but if we declare it using deprecated <OnPlatform> tag
everything works fine
This behavior is true for Xamarin.Forms 22.214.171.124 still not fixed in Xamarin.Forms 126.96.36.1996-pre6
Sample solution is attached
Thank you for the reproduction. My machine is personally not showing a difference regardless of whether the native tooling is on or not, but I am on an insider build of Windows 10 so that might have something to do with it. iOS does work for both labels, however, to compare. I'll set this to confirmed for now until further investigation.
I have the same issue
I tested this with Xamarin.Forms 2.4.0-pre2 and it appears to be fixed. Note that the "Windows" platform has been split into "WinRT" and "UWP". When using <On /> and "UWP" in the sample project, both Labels now look the same even when "Compile with .NET Native tool chain" is enabled.