When starting dotdevelop the following startup messages are produced (among others)
oeDEBUG :: CompositionManager :: INIT-addins-start
oeDEBUG :: ReadAssembliesFromAddins : from extensionPath /MonoDevelop/Ide/TypeService/PlatformMefHostServices
...
oeDEBUG :: ReadAssembliesFromAddins /home/hwt/build/dd-dd/main/build/AddIns/MonoDevelop.Refactoring/MonoDevelop.Refactoring.dll
oeDEBUG :: CompositionManager :: INIT-addins-completed
INFO [2023-01-16 15:53:25Z]: Creating MEF composition from runtime
INFO [2023-01-16 15:53:26Z]: Add-in loaded: MonoDevelop.Deployment.Linux
INFO [2023-01-16 15:53:27Z]: Updating Welcome Page from 'http://software.xamarin.com/Service/News'.
The MEF composition above is created by an asynchronous task CreateRuntimeCompositionFromDiscovery in file
main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Composition/CompositionManager.cs
and as it runs multiple MEF discovery errors are reported of the form:-
INFO [2023-01-17 16:42:35Z]: MEF discovery error
Microsoft.VisualStudio.Composition.PartDiscoveryException: Failure while scanning type "Microsoft.VisualStudio.Imaging.ActualHighContrastConverter". ---> System.TypeLoadException: Parent class failed to load, due to: Generic Type Definition failed to init, due to: Could not resolve type with token 010000e8 from typeref (expected class 'System.Windows.Data.IMultiValueConverter' in assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35') assembly:PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 type:System.Windows.Data.IMultiValueConverter member:(null) assembly:/home/hwt/build/dd-dd/main/build/bin/Microsoft.VisualStudio.Utilities.dll type:MultiValueConverter`3 member:(null) assembly:/home/hwt/build/dd-dd/main/build/bin/Microsoft.VisualStudio.Utilities.dll type:MultiValueConverter`3 member:(null)
at (wrapper managed-to-native) System.RuntimeType.GetMethodsByName_native(System.RuntimeType,intptr,System.Reflection.BindingFlags,System.RuntimeType/MemberListType)
at System.RuntimeType.GetMethodsByName (System.String name, System.Reflection.BindingFlags bindingAttr, System.RuntimeType+MemberListType listType, System.RuntimeType reflectedType) [0x0001b] in <282c4228012f4f3d96bdf0f2b2dea837>:0
at System.RuntimeType.GetMethodCandidates (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.CallingConventions callConv, System.Type[] types, System.Int32 genericParamCount, System.Boolean allowPrefixLookup) [0x00010] in <282c4228012f4f3d96bdf0f2b2dea837>:0
at System.RuntimeType.GetMethods (System.Reflection.BindingFlags bindingAttr) [0x00000] in <282c4228012f4f3d96bdf0f2b2dea837>:0
at Microsoft.VisualStudio.Composition.AttributedPartDiscoveryV1.CreatePart (System.Type partType, System.Boolean typeExplicitlyRequested) [0x0005b] in <40e96ef4b67e43a4a43b85e33e486a92>:0
at Microsoft.VisualStudio.Composition.PartDiscovery+CombinedPartDiscovery.CreatePart (System.Type partType, System.Boolean typeExplicitlyRequested) [0x00020] in <40e96ef4b67e43a4a43b85e33e486a92>:0
at Microsoft.VisualStudio.Composition.PartDiscovery+<>c__DisplayClass29_0.<CreateDiscoveryBlockChain>b__0 (System.Type type) [0x00000] in <40e96ef4b67e43a4a43b85e33e486a92>:0
--- End of inner exception stack trace ---
These MEF discovery errors are followed by a similar number of MEF composition errors of the form:-
INFO [2023-01-19 17:10:03Z]: MEF composition error: Microsoft.CodeAnalysis.Editor.Implementation.CodeActions.CodeActionEditHandlerService.ctor(renameService): expected exactly 1 export matching constraints:
Contract name: Microsoft.CodeAnalysis.Editor.IInlineRenameService
TypeIdentityName: Microsoft.CodeAnalysis.Editor.IInlineRenameService
but found 0.
Debug code at line 212 of CompositionManager.cs then re-lists these errors under "oeDEBUG :: SOME MEF PROBLEMS:", after which there is a message that the CompositionManager has been initialised...
INFO [2023-01-24 11:45:06Z]: Service MonoDevelop.Ide.Composition.CompositionManager initialized in 2598 ms.
INFO [2023-01-24 11:45:07Z]: Service MonoDevelop.Ide.TypeSystem.TypeSystemService initialized in 2772 ms.
WARNING [2023-01-24 11:45:07Z]: FileService.UpdateDownloadedCacheFile. Unexpected status code NotFound
INFO [2023-01-24 11:45:07Z]: Welcome Page already up-to-date.
...and the IDE is ready to use (!)