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 for Bug 61106 on
Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
Using VS2017 15.4.5
.netstandard 2.0 XF solution
When running Live Player on Samsung SM-G950F without live player, app starts but throws an exception when running Build() on the AutoFac ContainerBuilder() instance. Code for preparing the container:
private void PrepareContainer(IModule platformSpecificModules)
var builder = new Autofac.ContainerBuilder();
_container = builder.Build(); --< Crashes here
The exception is:
No body on method System.Collections.Generic.IEnumerable'1<AutoFac.Core.IComponentRegistration>
Fails even when not registering anything for DI. works fine when app run on device as normal, however.
Created attachment 26023 [details]
Reproduced and added sample.
If you add a different page and do Live Run for that page that doesn't have AutoFac that seems to work. So adding the nuget is okay, but the registration doesn't work.
Created attachment 26095 [details]
Added another sample
The sample worked in the latest live player after updating the Build with the parameter as below