Hello
IdeaBlade.Core.Composition.CompositionHost.SearchPatterns.Clear();
IdeaBlade.Core.Composition.CompositionHost.SearchPatterns.Add("MyDomainModel.dll");
To the EntityServer in the global.asax file. This works for the server side. For the desktop client (a WPF application) I am at a loss as to where to put the above code.
The WPF client is using Cocktail 2012, so is the AppBootstrapper (which inherits CocktailMefBootstrapper) the best place to put it? But where? All the documentation states is: "In a desktop application, set the patterns before you begin using an EntityManager or other DevForce components". I have pasted the above two lines all over the client project and it is always ignored.
Regards
Mark