After updating from SourceTree 3.4.9 to 3.4.14, the app won't start.
The splashscreen appears for a moment and that is all
SourceTree logs :
ERROR [2023-07-30 20:55:52,582] [1] [Sourcetree.Composition.VSMef.Net48.CompositionExceptionHelper] [Log] - CompositionException [Errors occurred during discovery.] ERROR [2023-07-30 20:55:52,589] [1] [Sourcetree.Composition.VSMef.Net48.CompositionExceptionHelper] [Log] - Aggregate Exception: System.AggregateException: One or more errors occurred. ---> Microsoft.VisualStudio.Composition.PartDiscoveryException: ReflectionTypeLoadException while enumerating types in assembly "C:\Program Files (x86)\Atlassian\Sourcetree\SourceTree.Host.Bitbucket.dll". Results will be incomplete. ---> 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 Microsoft.VisualStudio.Composition.PartDiscovery.<>c__DisplayClass28_0.<CreateAssemblyDiscoveryBlockChain>b__0(Assembly a) --- End of inner exception stack trace --- --- End of inner exception stack trace --- ---> (Inner Exception #0) Microsoft.VisualStudio.Composition.PartDiscoveryException: ReflectionTypeLoadException while enumerating types in assembly "C:\Program Files (x86)\Atlassian\Sourcetree\SourceTree.Host.Bitbucket.dll". Results will be incomplete. ---> 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 Microsoft.VisualStudio.Composition.PartDiscovery.<>c__DisplayClass28_0.<CreateAssemblyDiscoveryBlockChain>b__0(Assembly a) --- End of inner exception stack trace ---<---ERROR [2023-07-30 20:55:52,592] [1] [Sourcetree.Composition.VSMef.Net48.CompositionExceptionHelper] [Log] - PartDiscoveryException: Microsoft.VisualStudio.Composition.PartDiscoveryException: ReflectionTypeLoadException while enumerating types in assembly "C:\Program Files (x86)\Atlassian\Sourcetree\SourceTree.Host.Bitbucket.dll". Results will be incomplete. ---> 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 Microsoft.VisualStudio.Composition.PartDiscovery.<>c__DisplayClass28_0.<CreateAssemblyDiscoveryBlockChain>b__0(Assembly a) --- End of inner exception stack trace --- ERROR [2023-07-30 20:55:52,592] [1] [Sourcetree.Composition.VSMef.Net48.CompositionExceptionHelper] [Log] - TypeLoadException: System.TypeLoadException: Could not load type 'BitbucKit.Net.Api.Model.TwoZero.Workspace' from assembly 'BitbucKit.Net.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. ERROR [2023-07-30 20:55:52,592] [1] [Sourcetree.Composition.VSMef.Net48.CompositionExceptionHelper] [Log] - ReflectionTypeLoadException: 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 Microsoft.VisualStudio.Composition.PartDiscovery.<>c__DisplayClass28_0.<CreateAssemblyDiscoveryBlockChain>b__0(Assembly a)
Deleting Assemblies.cache, Composition.cache files from AppData folder does not help.
I think it is the same issue as this one SRCTREEWIN-13997, but that one is already closed, and apparently not yet fixed.