Here is my scenario:
1.) I've got solution A which contains an existing client/server library utilizing DF and working fine.
2.) I've got solution B which also contains an existing client/sever library utilizing DF and also working fine.
3.) When I take the client/server library in solution B and include it in solution A I get the Exception below in the first EM ctor to spin up.
As soon as I remove solution B's client/server library from solution A everything goes back to working fine. I've been staring at the references in the problematic library for the past hour and am convinced there is nothing it references which is missing.
It's been a while since I worked with the basic solution setup with DevForce and was hoping someone could point me in the right direction. Thanks.
{System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at System.ComponentModel.Composition.Hosting.AssemblyCatalog.get_InnerCatalog()
at System.ComponentModel.Composition.Hosting.AssemblyCatalog.get_Parts()
at IdeaBlade.Core.Composition.PartsCatalog.LoadCatalog()
at IdeaBlade.Core.Composition.PartsCatalog..ctor()
at IdeaBlade.Core.Composition.CompositionHost..ctor()
at IdeaBlade.Core.Composition.CompositionHost.get_Instance()
at IdeaBlade.Core.IdeaBladeConfig.GetAllProbeAssemblyNames()
at IdeaBlade.Core.AuthHelper.LoadRuntimeLicense(Action`1 errorCallback)
at IdeaBlade.Core.AuthHelper.LoadLicense(Action`1 licenseErrorCallback)
at IdeaBlade.Core.IdeaBladeConfig.Initialize()
at IdeaBlade.Core.IdeaBladeConfig.get_Instance()
at IdeaBlade.Core.IdeaBladeConfig.AssertNonDefaultVersion(Boolean throwIfDefault)
at IdeaBlade.EntityModel.EntityManager..ctor(Boolean shouldConnect, String dataSourceExtension, EntityServiceOption entityServiceOption)
at IdeaBlade.EntityModel.EntityManager..ctor(Boolean shouldConnect)
at PBI.Core.CoreEntityManager..ctor(Boolean shouldConnect)
at PBI.Core.SessionDataInitializer.InitEntityManager(ISession session)
at PBI.Core.SessionDataInitializer.InitializeWebClientSession(ISession session, Action`1 callback)
at PBI.Core.Session.LoginWebClient(Int32 userId, Int32 databaseId, Action`1 callback)
at PBI.Client.App.Application_Startup(Object sender, StartupEventArgs e)
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)}