How and where to use MEF CompositionContainer in UWP? I tried to use it on OnLaunched() and in the builder of the start page, but the BadImageFormatException error occurred during the startup.
public LoadingWindow()
{
InitializeComponent();
var container = new CompositionContainer();
}