0
votes

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();
    }
1
maybe this answer helps: stackoverflow.com/a/34548528/578411 - rene
which version of MEF you are using ? - sayah imad

1 Answers