Bug 50712 - Dynamic XAML is not working in latest Xamarin Forms version(V and working fine in Xamarin Forms version(V
Summary: Dynamic XAML is not working in latest Xamarin Forms version(V and ...
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-12-23 11:54 UTC by Dinesh
Modified: 2017-01-23 15:34 UTC (History)
4 users (show)

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

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Dinesh 2016-12-23 11:54:58 UTC
Hello, I am impressed with the technology loading Xaml and JSON dynamically in Xamarin.Forms using https://www.nuget.org/packages/Xamarin.Forms.Dynamic as described in below link.


But while loading the xaml dynamically from string
but nothing loads in view (Android). Also if load JSON object from string and
set it as BindingContext, exceptions throws “System.NotImplementedException”.

Is there any code or any settings I have missed? Or is it a
bug in Xamarin.Forms version (v2.3.2.127)? and it is working fine in the Xamarin.Forms version (v1.5.0.6447).

I have used ListItems.xaml and ListItems.json from the provided example.


Here is my code to load xaml and json into the page.

`public App()
var page = new ContentPage();
var xaml = ReadXaml();
var json = ReadJson();
page.BindingContext = JsonModel.Parse(json);
MainPage = page;

private string ReadXaml()
var assembly = typeof(App).GetTypeInfo().Assembly;
var stream = assembly.GetManifestResourceStream("ListViewDemo.ListItems.xaml");
using (var reader = new StreamReader(stream))
{return reader.ReadToEnd();}}

private string ReadJson()
var assembly = typeof(App).GetTypeInfo().Assembly;
var stream =
using (var reader = new StreamReader(stream))
return reader.ReadToEnd();

Thanks in advance.
Dinesh Babu Yadav
Comment 1 Dinesh 2017-01-11 06:29:21 UTC
Any update regarding this issue.

Dinesh B
Comment 2 Stephane Delcroix 2017-01-23 15:34:56 UTC
even if the naming is misleading, we do not support Xamarin.Forms.Dynamic