A blog about my adventures in the .NET/C# world and the Unity Engine.

Dependency Injection

Debugging MEF

Finding the root cause of failed dependency tree construction

Andreas Schmitt

3 minutes read

If you have ever worked with a Dependency Injection container like MEF, you have probably run into the problem of types not being resolved correctly. Since MEF works mainly by attributes, typically the Export attribute on the class declaration, all it takes is a missing attribute for some type to go missing during bootstrapping.

Recent posts

See more


My name is Andreas Schmitt. I am a Software Engineer and Indie Game Developer from Germany