Analyze MEF Assemblies from the Command Linehttp://blogs.msdn.com/b/nblumhardt/archive/2009/08/28/analyze-mef-assemblies-from-the-command-line.aspxIn MEF Preview 6 we shipped a sample assembly called Microsoft.ComponentModel.Composition.Diagnostics , demonstrating the kinds of things that can be determined by (semi-) statically analyzing MEF catalogs. With Preview 7 we added a utility that makesen-USTelligent Evolution Platform Developer Build (Build: 5.6.50428.7875)re: Analyze MEF Assemblies from the Command Linehttp://blogs.msdn.com/b/nblumhardt/archive/2009/08/28/analyze-mef-assemblies-from-the-command-line.aspx#9896438Thu, 17 Sep 2009 21:04:47 GMT91d46819-8472-40ad-a661-2c78acb4018c:9896438Kathleen Dollard<p>OK, well, never mind my last comment about mefx not recursing subdirectories. I realized it was my calling code recursing subdirectories. If that got lost on moderation, perhaps this one will too :)</p>
<div style="clear:both;"></div><img src="http://blogs.msdn.com/aggbug.aspx?PostID=9896438" width="1" height="1">re: Analyze MEF Assemblies from the Command Linehttp://blogs.msdn.com/b/nblumhardt/archive/2009/08/28/analyze-mef-assemblies-from-the-command-line.aspx#9888998Sat, 29 Aug 2009 22:51:08 GMT91d46819-8472-40ad-a661-2c78acb4018c:9888998Glenn Block<p>Hi Rinat</p>
<p>We're looking into providing a much richer design-time experience post .NET 4.0. It's preliminary right now, but it's high on our priority list.</p>
<div style="clear:both;"></div><img src="http://blogs.msdn.com/aggbug.aspx?PostID=9888998" width="1" height="1">re: Analyze MEF Assemblies from the Command Linehttp://blogs.msdn.com/b/nblumhardt/archive/2009/08/28/analyze-mef-assemblies-from-the-command-line.aspx#9888778Fri, 28 Aug 2009 22:55:21 GMT91d46819-8472-40ad-a661-2c78acb4018c:9888778niblumha<p>The Visual Studio/MEF scenarios will probably drive a lot of tooling, both design-time and 'community' features like the existing Template Gallery.</p>
<p>How much of this will get into the mainstream developer workflow is unclear right now - but in any case, MEF is very tooling-friendly and a lot of third-party support is likely to show up.</p>
<p>Nick</p>
<div style="clear:both;"></div><img src="http://blogs.msdn.com/aggbug.aspx?PostID=9888778" width="1" height="1">re: Analyze MEF Assemblies from the Command Linehttp://blogs.msdn.com/b/nblumhardt/archive/2009/08/28/analyze-mef-assemblies-from-the-command-line.aspx#9888770Fri, 28 Aug 2009 22:42:28 GMT91d46819-8472-40ad-a661-2c78acb4018c:9888770Rinat Abdullin<p>Re design skills - I simply &quot;cheated&quot; by using DXperience UI component suite and IconExperience icon set))</p>
<p>Re overall MEF - are there any long-term plans around this direction? Like creating deeper development ecosystem around the extensibility framework (i.e.: pushing the research, gathering around practices, tools and various development adapters (like CC.NET validation bits) etc)? Or is it going to end at the CodePlex and BCL?</p>
<p>Rinat</p>
<div style="clear:both;"></div><img src="http://blogs.msdn.com/aggbug.aspx?PostID=9888770" width="1" height="1">re: Analyze MEF Assemblies from the Command Linehttp://blogs.msdn.com/b/nblumhardt/archive/2009/08/28/analyze-mef-assemblies-from-the-command-line.aspx#9888723Fri, 28 Aug 2009 21:11:48 GMT91d46819-8472-40ad-a661-2c78acb4018c:9888723niblumha<p>@Rinat - yes, I do remember the Autofac/xLim inspector.. Unfortunately my GUI design skills are no match for yours :)</p>
<p>Since the MEF inspection routines are separate from the console app, I hope someone in the community will take a shot at a GUI version.</p>
<p>Cheers!</p>
<p>Nick</p>
<div style="clear:both;"></div><img src="http://blogs.msdn.com/aggbug.aspx?PostID=9888723" width="1" height="1">re: Analyze MEF Assemblies from the Command Linehttp://blogs.msdn.com/b/nblumhardt/archive/2009/08/28/analyze-mef-assemblies-from-the-command-line.aspx#9888714Fri, 28 Aug 2009 20:56:30 GMT91d46819-8472-40ad-a661-2c78acb4018c:9888714Rinat Abdullin<p>Great idea.</p>
<p>Here are just some more thoughts:</p>
<p>1. Remember Autofac IoC inspector I've been toying with?</p>
<p><a rel="nofollow" target="_new" href="http://abdullin.com/journal/2008/2/8/managing-xlim-2-flexibility-ioc-container-inspector.html">http://abdullin.com/journal/2008/2/8/managing-xlim-2-flexibility-ioc-container-inspector.html</a></p>
<p>Similar thing could be implemented for MEF (and also built as example of MEF studio/extensibility). Since IoC graphs are getting more and more complex these days, a way to visualize the dependencies somehow might be helpful.</p>
<p>2. Re CI integration, AFAIK StructureMap had some validation mode.</p>
<p>3. MEFProfiler (to look for inefficient resolution scenarios and just some patterns)?</p>
<p>Keep up the great work!</p>
<div style="clear:both;"></div><img src="http://blogs.msdn.com/aggbug.aspx?PostID=9888714" width="1" height="1">