Created Issue: DirectoryCatalog and assembly with same name, bug? [14605]
Hi All,I have a scenario where my application (say Program.exe) runs from a Bin folder. There is a Bin/Plugins folder which has some more assemblies (say Plugin1.dll and Plugin2.dll). For some reasons...
View ArticleNew Post: DirectoryCatalog issue. Loads the assembly from Current folder...
Hi All, I have a scenario where my application (say Program.exe) runs from a Bin folder. There is a Bin/Plugins folder which has some more assemblies (say Plugin1.dll and Plugin2.dll). For some reasons...
View ArticleNew Post: MEF instantiating event subscribers
Hello TobiasFunke! I tried to use your trick to initiate Subscribers to events in prism, but did not work. Could u please provide me complete code for your implementation? Thanks.
View ArticleNew Post: MEF instantiating event subscribers
Hi, Ensure your IStartable implementations are decorated with the appropriate export attribute, which in this case would be:[Export(typeof(IStartable)] public class Car : IStartable { ... } This way...
View ArticleNew Post: MEF instantiating event subscribers
Hello! Thanks for your help! But I still have some issues . Have a look at the following code:- Interface:[InheritedExport] public interface IMessageConsumer { void Start(); }...
View ArticleNew Post: MEF instantiating event subscribers
Hello! Thanks for your help! But I still have some issues . Have a look at the following code:- Interface:[InheritedExport] public interface IMessageConsumer { void Start(); }...
View ArticleNew Post: MEF instantiating event subscribers
Hello! Thanks for your help! But I still have some issues . Have a look at the following code:- Interface:[InheritedExport] public interface IMessageConsumer { void Start(); }...
View ArticleNew Post: Windows Store sample?
I'm having a hard time finding MEF code samples anywhere. I'm working on a Windows Store application and would like the UI to be somewhat modular. My plan is to define a general layout and load various...
View ArticleNew Post: MEF2 with MVC4 via Microsoft.Composition
I am a bit confused as to what is the best option for utilizing MEF in and MVC 4 application. Kenny, your solution seems to use the "older" version of MEF and not the lighter weight...
View ArticleCreated Issue: Plugin can't deserialize -? [14606]
Hi,I've developed a plugin for my MEF application, and it uses it's own serialize / deserialize utility for persisting state data (BinaryFormatter). On it's own outside of MEF, the plugin project works...
View ArticleCommented Issue: WP8 support missing in PCL assemblies! [14603]
Since Windows Phone 8 is not checked as supported target framework in the MEF portable class libraries (currently only .NET for Windows Store apps and .NET Framework 4.5), it will only work in emulator...
View ArticleNew Post: MEF Container Initialization
I have a problem initializing MEF. I built an application that uses MEF and it seems to work fine on a WIndows 8 and Windows 7 SP1 machines. However, when I run the application on a third machine...
View ArticleNew Post: MEF Container Initialization
I figured it out. The third machine was missing an updated library (.dll) that had the export
View ArticleNew Post: Consume Plugin in MFC App
We have a legacy MFC application that needs to consume some plugins based on MEF. How do I go after doing this? The plugin is displaying a screen, passing back some images and text.
View ArticleNew Post: Reloading an updated version of XAP through DeploymentCatalog does...
The reason is related to how silverlight handles loading modules in app domains, it does not allow more than one version of a dll so it ignores new version until you restart your application. Hope this...
View ArticleNew Post: Reloading an updated version of XAP through DeploymentCatalog does...
Thanks for sharing your results. Doesn't this create a real-time issue when customers have persisted login enabled and leave their browser open for several days. If a server update occurs with new MEF...
View ArticleNew Post: Use MEF to allow only 2 instances at max per application
I am using MEF as an IOC in my application. I found myself stuck in a situation where I need exactly two instance at a time for a class in my application (across all threads). I thought it would be...
View ArticleNew Post: Use MEF to allow only 2 instances at max per application
Hi there, Creation policy (e.g. sharing) applies to parts, while one part may have many exports. This is just how the MEF component model works - in most situations this turns out to be useful. To...
View ArticleNew Post: What are all the cases that make an [ImportingConstructor] not load?
I posted this question on stackoverflow. Basically an [ImportingConstructor] is failing to load, then when I allow a specific part to be default, the constructor it is able to load. The confusing part...
View ArticleNew Post: SQL database in a MEF application
This question is not geared towards an implementation of MEF per se, but suppose I have a WPF application whose features are dynamically composable through MEF. The application is also backed by a SQL...
View Article