I updated to 2.4 today and my project immediately began blowing up on startup d
uring PrepareCompositionBatch with ...
You must first set a valid CompositionProvider by using Composition.SetProvider
at Cocktail.Composition.get_Provider()
at Cocktail.Composition.TryGetInstance[T]()
at Cocktail.PartLocator`1.GetPart()
at Cocktail.PartLocator`1.get_IsAvailable()
at Cocktail.EventFns.Subscribe(Object instance)
at Cocktail.AuthenticationService..ctor()
at LightWork.AppBootstrapper.PrepareCompositionContainer(CompositionBatch batch)
at Cocktail.CocktailMefBootstrapper.Configure()
at LightWork.AppBootstrapper.Configure()
at Caliburn.Micro.BootstrapperBase.StartRuntime()
at Cocktail.CocktailBootstrapper.StartRuntime()
at LightWork.AppBootstrapper.StartRuntime()
at Caliburn.Micro.BootstrapperBase.Start()
at Cocktail.CocktailBootstrapper..ctor(Boolean useApplication)
at Cocktail.CocktailMefBootstrapper..ctor(Boolean useApplication)
at Cocktail.CocktailMefBootstrapper`1..ctor(Boolean useApplication)
at LightWork.AppBootstrapper..ctor()
It would seem some change in the Composition or PartLocator behavior is causing the AuthenticationService to no be able to be initialized here as Configure has not completed running yet, which sets the provider.
Please help.
-Kat
Edited by KitKat - 10-Jul-2013 at 11:01am