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 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.
Setting a value of "20dp" or any value which does not cast to a double causes application to be blank on Android
<Label Text="Test" FontSize="foo"/>
On all other platforms a suitable exception is raised either at compile time if Xaml Compilation is enabled or at runtime when the page is displayed.
This defect was reproduced on the latest veresion of Forms and versions going back at least as far as 126.96.36.199
Happens on the nightly as well. Just modifying the label on the MainPage.xaml of a new project does the trick.
Visual Studio is not breaking when the exception is thrown (even when breaking for all exceptions is checked and just-my-code is disabled). The exception is being throw here:
If you put a breakpoint there then step forward the VS does break on the exception.. so looks like a Xamarin VS debugger bug.
Created attachment 22360 [details]
I'm getting an InvalidOperationException (attached) and the description looks ok, and the stack trace also looks ok. Maybe you have My Code enabled?