Forum Visual Studio


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.


RRSRRS USMember ✭✭


Great work on the live player, much needed tool!:)

I use a image extension that i found to use all graphics from a core library instead of spreading the graphics in both the android and ios project.

public class ImageResourceExtension : IMarkupExtension
    public string Source { get; set; }

    public object ProvideValue(IServiceProvider serviceProvider)
        if (Source == null)
            return null;

        // Do your translation lookup here, using whatever method you require
        var imageSource = ImageSource.FromResource(Source);

        return imageSource;

Then i use XAML to bind the graphics, which works great, just not on xamarin live player.

[LogEntry: Time=15.02.2018 14.10.58 +01:00, Level=Error, Title=Visualization Error, Message=Object of type 'NInterpret.InterpretedObject' doesn't match target type 'Xamarin.Forms.Xaml.IMarkupExtension' (TargetException)]

Is there something ive been missing to get this running?
If i comment the xaml out it runs.

Second question, is the android version supposed to work aswell as the ios soon? By that i was thinking especially on the ACR issue commented earlier in the forum and other components breaking the Android Live player.


Sign In or Register to comment.