Hello everybody,
my Visual Studio throws the following Exception if i try to serve the Project.Android.
"Xamarin.Forms.Xaml.XamlParseException: 'Position 38:29. StaticResource not found for key IconButtonStyle'"
it reffer to the "HealthCarePage.xaml.g.cs"
i don´t know what i should do to solve this Error.
HealthCarePage.xaml
Command="{Binding Path=BindingContext.MenuCommand, Source={x:Reference healthCarePage}}"
FontSize="22"
HorizontalOptions="Start"
Style="{StaticResource IconButtonStyle}"
Text="{StaticResource BurgerMenu}" />
HealthCarePage.xaml.g.cs
[global::Xamarin.Forms.Xaml.XamlFilePathAttribute("Views\\HealthCarePage.xaml")]
public partial class HealthCarePage : global::Xamarin.Forms.ContentPage {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Forms.Build.Tasks.XamlG", "2.0.0.0")]
private global::Xamarin.Forms.ContentPage healthCarePage;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Forms.Build.Tasks.XamlG", "2.0.0.0")]
private void InitializeComponent() {
global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(HealthCarePage));
healthCarePage = global::Xamarin.Forms.NameScopeExtensions.FindByName(this, "healthCarePage");
}
}
Styles.xaml