What did you do?
Was trying to run binary classification example on Uwp.
What happened?
System.MissingMethodException: Method not found: 'System.ComponentModel.Composition.Hosting.CompositionContainer Microsoft.ML.Runtime.IHostEnvironment.GetCompositionContainer()'.
It works fine with .Net Core Console .
@eerhardt I assume this has to do with the fact we started using MEF 1.0 in ML.NET? Are these UWP apps not compatible with MEF?
I've opened https://github.com/dotnet/corefx/issues/33434 for this issue. It appears to either be an issue with the NuGet package, or UWP itself.
Adding a related sample app which mentions related issues:
https://xamlbrewer.wordpress.com/2019/01/25/machine-learning-with-ml-net-in-uwp-clustering/
Most helpful comment
Adding a related sample app which mentions related issues:
https://xamlbrewer.wordpress.com/2019/01/25/machine-learning-with-ml-net-in-uwp-clustering/