Today I installed the latest release of Xamarin Forms. It resulted in one problem with Grid.RowDefinitions with a single row. This can be worked around by removing the RowDefinitions altogether, but there is bigger problem with this piece of code:
_advisedSpeed = new CustomLabel
{
VerticalOptions = LayoutOptions.Center,
HorizontalOptions = LayoutOptions.Center,
TextColor = Color.White,
Font = Font.SystemFontOfSize(30)
),
};
It will crash with the exception:
{System.MissingMethodException: Method not found: 'Xamarin.Forms.Font Xamarin.Forms.Font.SystemFontOfSize(Double)'.
at SmartCarPhone.Views.SpeedLayout.InitLabels()
at SmartCarPhone.Views.SpeedLayout..ctor()
at SmartCarPhone.Views.CustomizedLane.InitImageSources()
at SmartCarPhone.Views.CustomizedLane..ctor()
at SmartCarPhone.Views.MainPage.ShowRoad()
at SmartCarPhone.Views.MainPage..ctor()
at SmartCarPhone.Views.RootPage.SetMainPage()
at SmartCarPhone.Views.RootPage.b__0()}
It worked fine on Xamarin.Forms version 1.1.1.6206, but now I see the above two problems.
Please help
Robert