Missing source for Microsoft.Composition

I can't seem to find the source code for the Microsoft.Composition nuget package anywhere, but Roslyn needs it, and the .NET Foundation site seems to imply that it would be found here. So where is...

Id #14627 | Release: None | Updated: Nov 23, 2015 at 10:01 PM by nblumhardt | Created: Nov 23, 2015 at 6:44 PM by sbronson

MEF2 - troubles with exporting value types (bool, int, etc.)

Hi, I'm trying export properties with types like boolean or integer, but I'm getting this exception: Expression of type 'System.Boolean' cannot be used for return type 'System.Object' I f...

Id #14626 | Release: None | Updated: Nov 7, 2015 at 9:53 AM by SkyKnight | Created: Nov 7, 2015 at 9:53 AM by SkyKnight

MEF2 error with custom metadata attributes

The nuget version of MEF (MEF2?) can't handle null values on custom metadata attributes when AllowMultiple is true. It will try to construct an array (which is ok) but TypeInspector.AddMetadata cal...

Id #14625 | Release: None | Updated: Jul 17, 2015 at 4:26 PM by Zarat | Created: Jul 17, 2015 at 4:26 PM by Zarat

Problem deploying Silverlight App using MEF and Azure

Hello I developed an app using Silverlight 5. When I run this application in my computer this app works like a charm. but When I publish this application to my WebRole in Azure my app is dead. ...

Id #14624 | Release: None | Updated: Jul 6, 2015 at 2:02 PM by RicardoPons | Created: Jul 6, 2015 at 2:02 PM by RicardoPons

Moq Unit testing using MEF Container

Hi All, In our WPF MVVM Application , we are using MEF to create the instances of class. We are using Moq Framework to perform unit testing for our classes, we have added the parts to Container...

Id #14623 | Release: None | Updated: Apr 23, 2015 at 2:52 PM by NagamaniT | Created: Apr 23, 2015 at 2:52 PM by NagamaniT

OnImportsSatisfied called in the wrong order

In the basic scenario in which part A has a dependency on part B, and both part A and part B have methods with [OnImportsSatisfied] attributes, the method in part A is called before that in part B....

Id #14622 | Release: None | Updated: Jan 22, 2015 at 11:38 PM by jwdev | Created: Jan 22, 2015 at 11:35 PM by jwdev

MEF should allow metadata view types with constructors of IReadOnlyDictionary<string, object>

If you create a metadata view type, the constructor of the type must accept an IDictionary<string, object>. This means you can't use an IReadOnlyDictionary<string, object> which is a separate (and ...

Id #14621 | Release: None | Updated: Jan 5, 2015 at 11:43 PM by jasonmalinowski | Created: Jan 5, 2015 at 11:43 PM by jasonmalinowski

Performance issue caused by scanning for exported members

We have a performance issue with the composition of types from assemblies which have many types, each of them having many members. We never(!) use the [Export] attributes on members. We only use th...

Id #14620 | Release: None | Updated: Apr 6, 2015 at 10:21 AM by EngineerSpock | Created: Nov 24, 2014 at 8:48 AM by candritzky

MEF Extension Bug – unexpected module initialization

ModularityWithMef.Desktop Sample Application The MefModuleManager.OnImportsSatisfied() is executing LoadModulesThatAreReadyForLoad() on line 93. Since the ModularityWithMef.Desktop application...

Id #14619 | Release: None | Updated: Nov 6, 2014 at 4:01 PM by BillKrat | Created: Nov 6, 2014 at 3:38 PM by BillKrat

Open generics with type constraints and RegisterationBuilder

When creating an AssemblyCatalog and passing RegistrationBuilder, open generics where the generic interface has type constraints, stop working. See http://stackoverflow.com/q/24590096/782185

Id #14618 | Release: None | Updated: Jul 7, 2014 at 7:40 PM by romandvoskin | Created: Jul 7, 2014 at 7:40 PM by romandvoskin