Xamarin.Forms.Xaml.XamlParseException: Position 9:10. Type infra:InstanceLocator not found in xmlns

fytofyto CLMember ✭✭


I am compiling my App project in Visual Studio and it throws me the error: Xamarin.Forms.Xaml.XamlParseException: Position 9:10. Type infra: InstanceLocator not found in xmlns clr-namespace: SITApp3.Infrastructure; assembly = SITApp3
Does anyone know how I can solve it?
Thank your contributions

Answers

  • PraiseGodPraiseGod CNMember

    What is the solution to this problem ?

  • JamesLaveryJamesLavery GBBeta, University ✭✭✭✭✭
    @PraiseGod do you have the exact same error message (with the same namespace not found) or a similar one?
  • Abdul_WaseyAbdul_Wasey Member
    edited October 10

    Please Add this tag "infra:InstanceLocator x:Key="Locator"></infra:InstanceLocato" in
    App.xaml
    and add this tagin your Content Page "BindingContext="{Source={StaticResource Locator}}"

Sign In or Register to comment.