Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
When i turn on XamlCompile and run using the Windows Phone 8.1 RT project, i get a MethodAccessException.
Attempt by method 'XXX.Views.Tabs.TodoPage.InitializeComponent()' to access method 'Xamarin.Forms.DataTemplate..ctor()' failed.
This should have been solved already, but might not have been released yet. Could you please attach a reproduction project so we can make sure it's fixed, and take action if it is not ?
I just like to confirm that this problem is still not fixed in Xamarin.Forms 184.108.40.20690.
We have the same problem after upgrade from version 1.4 to 2.0.
iOS and Android client work well but Windows Phone client has the same Exception loading a view with DataTemplate and Binding.
Same issue here with Windows Phone 8.1 RT project, Xamarin.Forms 220.127.116.1190
Its so easy to reproduce why would you need project, just use bellow code with Windows RT
I can confirm that I'm having this same problem with Xamarin.Forms package version 18.104.22.16805 and Windows Phone 8.1 Universal project. If I comment out the compile assembly attribute, all is well. Add it back in and this error occurs.
this was fixed in 2.1.0-pre4