Forum Xamarin Xamarin.Forms

Xamar.Forms.Maps Custom Pins Trouble

Ambush4Ambush4 Member ✭✭
edited September 10 in Xamarin.Forms

Hi, I'm New to Xamarin ad I'm having a couple of problems making a Custom Pin on a custom map.
A couple of these errors I don't understand.

First I don't know what an assembly means
this is the file giving the error

Secondly, I don't know why I can't find some of the objects in the resource folder.

this is my resources folder but for some reason, I still get errors when trying to pull from it.

Thanks

Answers

  • ColeXColeX Member, Xamarin Team Xamurai

    First error : please ensure that Assembly UITeach.Views exist and the class CustomMap locates in namespace UITeach.Views.

    Second error : try to clean and rebuild your solution .

  • Ambush4Ambush4 Member ✭✭

    @ColeX said:
    First error : please ensure that Assembly UITeach.Views exist and the class CustomMap locates in namespace UITeach.Views.

    Second error : try to clean and rebuild your solution .

    For the first error
    The custom map class is within that folder. I tried reading on assemble, but I really don't understand what it is. What is it?

    I tried cleaning and rebuilding but I didn't work.

  • ColeXColeX Member, Xamarin Team Xamurai

    Could you provide a basic project which could reproduce this issue ?

    Just zip and upload in the comment .

  • Ambush4Ambush4 Member ✭✭

    Here is a sample of the files causing errors. Thank you so much

  • ColeXColeX Member, Xamarin Team Xamurai

    The namespace of the class should be corresponding with its location inside project.

    Delete CustomMap file from your project and place it into Views folder, add it again .

  • Ambush4Ambush4 Member ✭✭

    I tried this but the assembly reference still doesn't work

  • ColeXColeX Member, Xamarin Team Xamurai

    Make sure the namespace is identical in three places.

  • Ambush4Ambush4 Member ✭✭





    I have it like that but the assembly reference doesn't work.

Sign In or Register to comment.