New Preview Available

Oct 28, 2011 at 12:05 AM

Hi everyone,

It has been quite a while since there was an update on what the MEF team has been working on. We're pleased to announce that this afternoon, a new preview went live on the MEF CodePlex site.

You can read about it here: http://blogs.msdn.com/b/bclteam/archive/2011/10/27/what-s-new-in-mef-version-2-preview-4.aspx

Thanks for bearing with us while we put this release together; there may be a few hiccups as we streamline the process to allow more regular releases, but we're confident that the gaps between releases will get narrower.

A note to Silverlight users - the source code we're dropping supports Silverlight but requires build flags to compile correctly. We will address this as soon as possible.

We hope you enjoy working with the new preview. Keep the feedback coming!

Thanks,

The project team

Oct 28, 2011 at 4:03 AM
Edited Oct 28, 2011 at 6:11 AM

Nick et al,

Kicking the tires on the v4 drop - are open generic supported by the RegistrationBuilder, or is this a work-in-progress?

This code doesn't seem to work as I'd hoped - have I missed something?

https://gist.github.com/1321588

Cheers,

Brendan

Oct 28, 2011 at 5:02 AM

Brendan, thanks for checking the new release out.

I'll be able to take a closer look at this tomorrow morning; however I suspect that using CatalogExportProvider rather than CompositionContainer may be at the root of the problem:

var provider = new CatalogExportProvider(newCatalog);

Would normally be:

var provider = new CompositionContainer(newCatalog);

Cheers,

Nick