You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have last used Sourcetree on last Wed, 14Jun2023. Then since 19Jun. it has stopped launching with the following error found in sourcetree.log:
ERROR [2023-06-20 11:31:47,083]  [Sourcetree.Composition.VSMef.Net471.VSMefCompositionManager] [Log] - Unable to load MEF components
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at Microsoft.VisualStudio.Composition.PartDiscovery.GetElementTypeFromMany(Type type)
Hi @Pon Pricha
During windows update installation sometimes following cache files get corrupted and cause this issue: Assemblies.cache, Composition.cache
These files are present at following location: C:\Users\<User>\AppData\Local\Atlassian\SourceTree.exe_<random_string>\<version_number>
Deleting above 2 files can resolve the issue.
Sourcetree will regenerate these files when you re-run Sourcetree.
We have resolved this issue and it will be available in upcoming Sourcetree release (3.4.14) soon.