Bug 59068 - IMarkupExtension not working
Summary: IMarkupExtension not working
Alias: None
Product: Live Player
Classification: Xamarin
Component: Mobile App (show other bugs)
Version: 1.0.507
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-08-27 09:23 UTC by Martin Jørgensen
Modified: 2017-11-29 01:01 UTC (History)
2 users (show)

See Also:
Is this bug a regression?: ---
Last known good build:

Reproduction of issue (337.72 KB, application/x-zip-compressed)
2017-09-01 14:11 UTC, Martin Jørgensen

Description Martin Jørgensen 2017-08-27 09:23:39 UTC
The "most simple" IMarkupExtension does not work in Live Player.

The MarkupExtension:
  public class Localizer : IMarkupExtension
    public string IDS { get; set; }

    public object ProvideValue(IServiceProvider serviceProvider)
      return IDS;

The xaml:
<Label Text="{local:Localizer IDS='IDS_Hello'}"/>

I guess it is related to bug 58105 (https://bugzilla.xamarin.com/show_bug.cgi?id=58105), but I thought that filled bug was related to accessing image resources from PCL.
But it seems like it is related to IMarkupExtension.
Comment 1 James Montemagno [MSFT] 2017-08-31 20:16:07 UTC
Could you attach a small sample, this will help us repro exactly what you have and add to our test suite.
Comment 2 Martin Jørgensen 2017-09-01 14:11:57 UTC
Created attachment 24523 [details]
Reproduction of issue

Added project to reproduce issue.

Note You need to log in before you can comment on or make changes to this bug.