{"action":"created","issue":{"url":"https://api.github.com/repos/tgjones/gemini/issues/147","labels_url":"https://api.github.com/repos/tgjones/gemini/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/tgjones/gemini/issues/147/comments","events_url":"https://api.github.com/repos/tgjones/gemini/issues/147/events","html_url":"https://github.com/tgjones/gemini/issues/147","id":118601174,"number":147,"title":"Error on starting app after Clickonce upgrade","user":{"login":"xtomas","id":10938220,"avatar_url":"https://avatars.githubusercontent.com/u/10938220?v=3","gravatar_id":"","url":"https://api.github.com/users/xtomas","html_url":"https://github.com/xtomas","followers_url":"https://api.github.com/users/xtomas/followers","following_url":"https://api.github.com/users/xtomas/following{/other_user}","gists_url":"https://api.github.com/users/xtomas/gists{/gist_id}","starred_url":"https://api.github.com/users/xtomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtomas/subscriptions","organizations_url":"https://api.github.com/users/xtomas/orgs","repos_url":"https://api.github.com/users/xtomas/repos","events_url":"https://api.github.com/users/xtomas/events{/privacy}","received_events_url":"https://api.github.com/users/xtomas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-24T12:43:35Z","updated_at":"2015-11-25T15:25:25Z","closed_at":null,"body":"Hello,\r\n\r\nI am successfully using your great framework project in my app. But just after I started to use Clickonce, I realized app crash immediately after upgrade. Here is exception content:\r\n\r\n```\r\nSystem.ComponentModel.Composition.CompositionException: The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.\r\n\r\n1) Object reference not set to an instance of an object.\r\n\r\nResulting in: An exception occurred while trying to create an instance of type 'Gemini.Modules.MainMenu.ViewModels.MainMenuViewModel'.\r\n\r\nResulting in: Cannot activate part 'Gemini.Modules.MainMenu.ViewModels.MainMenuViewModel'.\r\nElement: Gemini.Modules.MainMenu.ViewModels.MainMenuViewModel -->  Gemini.Modules.MainMenu.ViewModels.MainMenuViewModel -->  AssemblyCatalog (Assembly=\"Gemini, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null\")\r\n\r\nResulting in: Cannot get export 'Gemini.Modules.MainMenu.ViewModels.MainMenuViewModel (ContractName=\"Gemini.Modules.MainMenu.IMenu\")' from part 'Gemini.Modules.MainMenu.ViewModels.MainMenuViewModel'.\r\nElement: Gemini.Modules.MainMenu.ViewModels.MainMenuViewModel (ContractName=\"Gemini.Modules.MainMenu.IMenu\") -->  Gemini.Modules.MainMenu.ViewModels.MainMenuViewModel -->  AssemblyCatalog (Assembly=\"Gemini, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null\")\r\n\r\nResulting in: Cannot set import 'Gemini.Modules.Shell.ViewModels.ShellViewModel._mainMenu (ContractName=\"Gemini.Modules.MainMenu.IMenu\")' on part 'Gemini.Modules.Shell.ViewModels.ShellViewModel'.\r\nElement: Gemini.Modules.Shell.ViewModels.ShellViewModel._mainMenu (ContractName=\"Gemini.Modules.MainMenu.IMenu\") -->  Gemini.Modules.Shell.ViewModels.ShellViewModel -->  AssemblyCatalog (Assembly=\"Gemini, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null\")\r\n\r\nResulting in: Cannot get export 'Gemini.Modules.Shell.ViewModels.ShellViewModel (ContractName=\"Gemini.Framework.Services.IShell\")' from part 'Gemini.Modules.Shell.ViewModels.ShellViewModel'.\r\nElement: Gemini.Modules.Shell.ViewModels.ShellViewModel (ContractName=\"Gemini.Framework.Services.IShell\") -->  Gemini.Modules.Shell.ViewModels.ShellViewModel -->  AssemblyCatalog (Assembly=\"Gemini, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null\")\r\n\r\nResulting in: Cannot set import 'Gemini.Modules.MainWindow.ViewModels.MainWindowViewModel._shell (ContractName=\"Gemini.Framework.Services.IShell\")' on part 'Gemini.Modules.MainWindow.ViewModels.MainWindowViewModel'.\r\nElement: Gemini.Modules.MainWindow.ViewModels.MainWindowViewModel._shell (ContractName=\"Gemini.Framework.Services.IShell\") -->  Gemini.Modules.MainWindow.ViewModels.MainWindowViewModel -->  AssemblyCatalog (Assembly=\"Gemini, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null\")\r\n\r\nResulting in: Cannot get export 'Gemini.Modules.MainWindow.ViewModels.MainWindowViewModel (ContractName=\"Gemini.Framework.Services.IMainWindow\")' from part 'Gemini.Modules.MainWindow.ViewModels.MainWindowViewModel'.\r\nElement: Gemini.Modules.MainWindow.ViewModels.MainWindowViewModel (ContractName=\"Gemini.Framework.Services.IMainWindow\") -->  Gemini.Modules.MainWindow.ViewModels.MainWindowViewModel -->  AssemblyCatalog (Assembly=\"Gemini, Version=0.6.2.0, Culture=neutral, PublicKeyToken=null\")\r\n\r\n   at System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition)\r\n   at System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportedValue(CatalogPart part, ExportDefinition export, Boolean isSharedPart)\r\n   at System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore()\r\n   at System.ComponentModel.Composition.Primitives.Export.get_Value()\r\n   at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)\r\n   at System.ComponentModel.Composition.ExportServices.<>c__DisplayClass3`1.<CreateStronglyTypedLazyOfT>b__5()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.get_Value()\r\n   at Gemini.AppBootstrapper.GetInstance(Type serviceType, String key)\r\n   at Caliburn.Micro.BootstrapperBase.DisplayRootViewFor(Type viewModelType, IDictionary`2 settings)\r\n   at Gemini.AppBootstrapper.OnStartup(Object sender, StartupEventArgs e)\r\n   at System.Windows.Application.OnStartup(StartupEventArgs e)\r\n   at System.Windows.Application.<_ctor>b__0(Object unused)\r\n   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n```\r\n\r\n\r\nRegards,\r\n\r\nTomas"},"comment":{"url":"https://api.github.com/repos/tgjones/gemini/issues/comments/159640248","html_url":"https://github.com/tgjones/gemini/issues/147#issuecomment-159640248","issue_url":"https://api.github.com/repos/tgjones/gemini/issues/147","id":159640248,"user":{"login":"xtomas","id":10938220,"avatar_url":"https://avatars.githubusercontent.com/u/10938220?v=3","gravatar_id":"","url":"https://api.github.com/users/xtomas","html_url":"https://github.com/xtomas","followers_url":"https://api.github.com/users/xtomas/followers","following_url":"https://api.github.com/users/xtomas/following{/other_user}","gists_url":"https://api.github.com/users/xtomas/gists{/gist_id}","starred_url":"https://api.github.com/users/xtomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtomas/subscriptions","organizations_url":"https://api.github.com/users/xtomas/orgs","repos_url":"https://api.github.com/users/xtomas/repos","events_url":"https://api.github.com/users/xtomas/events{/privacy}","received_events_url":"https://api.github.com/users/xtomas/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T15:25:25Z","updated_at":"2015-11-25T15:25:25Z","body":"I'm afraid it's the only exception I have found. I'm not able to repeat this exception in other way then on first start after clickonce upgrade. Do you have any idea how to get full stack?"}}