Global Resources problem in Xamarin projects

Today I spent a lot of time to understand why my style doesn’t work. <Application xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="myProject.App"> <Application.Resources> <ResourceDictionary> <Style x:Key="WarmGreyLine" TargetType="BoxView"> <Setter Property="HeightRequest" Value="1" /> <Setter Property="HorizontalOptions" Value="Fill"…