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 at 6:40 PM by romandvoskin | Created: Jul 7 at 6:40 PM by romandvoskin

Global Container for MEF

I have a solution file with multiple projects. I have exported a class in a particular project and imported it in the other projects. Is it necessary to use DirectoryCatalog or is there a way wh...

Id #14617 | Release: None | Updated: Jun 12 at 7:22 PM by yadu26 | Created: Jun 12 at 7:22 PM by yadu26

Open Generic types won't register in the catalog on Test Project

Hi folks, I'm facing the same problem described at http://stackoverflow.com/questions/18147371/open-generic-types-wont-register-in-the-catalog/22114304#22114304. I use a Library that use MEF. Thi...

Id #14616 | Release: None | Updated: May 30 at 3:04 PM by Caldas | Created: May 30 at 3:04 PM by Caldas

Bug in Open Generics with IBiz<T, int>

In the code below x gets 0 results but it should get one. class Program { static void Main(string[] args) { var cat = new AssemblyCatalog(typeof (Program).Assembly); var con...

Id #14615 | Release: None | Updated: May 13 at 5:01 AM by AceHack | Created: May 13 at 5:01 AM by AceHack

AmbiguousMatchException when resolving a class with generic void overloads

Hi, To reproduce this problem, consider the following class: public class Test { public void Execute() { } public void Execute<T>() { } } The following code will fail with an AmbiguousMatchEx...

Id #14614 | Release: None | Updated: May 8 at 1:28 PM by JackW | Created: May 8 at 1:28 PM by JackW

AtomicComposition encountered an unexpected Exception

Getting the following error occasionally ProcessEntry() failed. InvalidOperationException: AtomicComposition encountered an unexpected Exception, review InnerException for details. Stack Trace:...

Id #14613 | Release: None | Updated: Jul 9 at 2:17 PM by nazbrok | Created: May 6 at 6:05 AM by ranjanks

Generic registration does not work

Generic registration does not work Example: RegistrationBuilder.ForTypesDerivedFrom(typeof(IRepository<>)).Export();

Id #14612 | Release: None | Updated: Mar 12 at 4:17 PM by seletskysergey | Created: Mar 12 at 4:17 PM by seletskysergey

Performance issue in SmallSparseInitonlyArray

Hello, I have found a significant performance issue when using lost of Shared parts. 50% of composition time is spent inside System.Composition.Hosting.Util.SmallSparseInitonlyArray.Add on string...

Id #14611 | Release: None | Updated: Jun 7 at 10:39 PM by nblumhardt | Created: Feb 13 at 3:04 AM by PavelGatilov

silverlight for MEF

Hello i was checking this article: http://msdn.microsoft.com/en-us/library/ms171868(v=vs.110).aspx#core and i was not able to see any information about Silverlight, or also inside PRISM, etc. ...

Id #14610 | Release: None | Updated: Nov 7, 2013 at 7:15 AM by jlsfernandez | Created: Nov 7, 2013 at 7:14 AM by jlsfernandez

Bug in CompositionContract Equals

The Equals method of the CompositionContract in the System.Composition.Runtime assembly has a bug. The Equals method will eventually internally call ConstraintEqual, which is ultimately where the ...

Id #14609 | Release: None | Updated: Sep 11, 2013 at 8:13 PM by sydefekt | Created: Sep 11, 2013 at 8:13 PM by sydefekt