locked
Error: Add-in could not be loaded: A cyclic addin dependency has been detected. RRS feed

  • Question

  • User309276 posted

    I'm currently on Xamarin Studio Community 6.2 (1829) for MacOS/OSX. Tonight XS wanted to install updates, which I allowed it to do without even checking what was getting updated... I mean, it's never failed before, right? :) After the updates were installed I get the following errors appear whenever XS starts:

    ``` MonoDevelop.MonoGame,3.6.0 Full Path: MonoDevelop.MonoGame,3.6.0.906 Error: Add-in could not be loaded: A cyclic addin dependency has been detected. Exception: System.InvalidOperationException: A cyclic dependency has been detected. at Mono.Addins.AddinEngine.ResolveLoadDependencies (System.Collections.ArrayList addins, System.Collections.Stack depCheck, System.String id, System.Boolean optional) [0x001e4] in /Users/builder/data/lanes/4010/3a28108f/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/AddinEngine.cs:634 at Mono.Addins.AddinEngine.ResolveLoadDependencies (System.Collections.ArrayList addins, System.Collections.Stack depCheck, System.String id, System.Boolean optional) [0x000f4] in /Users/builder/data/lanes/4010/3a28108f/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/AddinEngine.cs:612 at Mono.Addins.AddinEngine.ResolveLoadDependencies (System.Collections.ArrayList addins, System.Collections.Stack depCheck, System.String id, System.Boolean optional) [0x000f4] in /Users/builder/data/lanes/4010/3a28108f/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/AddinEngine.cs:612 at Mono.Addins.AddinEngine.ResolveLoadDependencies (System.Collections.ArrayList addins, System.Collections.Stack depCheck, System.String id, System.Boolean optional) [0x0019d] in /Users/builder/data/lanes/4010/3a28108f/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/AddinEngine.cs:627 at Mono.Addins.AddinEngine.LoadAddins (Mono.Addins.IProgressStatus statusMonitor, System.String id, System.Boolean throwExceptions) [0x0006c] in /Users/builder/data/lanes/4010/3a28108f/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/AddinEngine.cs:480

    MonoDevelop.MonoGame,3.6.0 Full Path: MonoDevelop.MonoGame,3.6.0.906 Error: Could not read extension node of type 'MonoDevelop.Ide.Extensions.MimeTypeNode' from extension path 'text/x-mgcb' Exception: System.InvalidOperationException: A cyclic dependency has been detected. at Mono.Addins.AddinEngine.ResolveLoadDependencies (System.Collections.ArrayList addins, System.Collections.Stack depCheck, System.String id, System.Boolean optional) [0x001e4] in /Users/builder/data/lanes/4010/3a28108f/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/AddinEngine.cs:634 at Mono.Addins.AddinEngine.ResolveLoadDependencies (System.Collections.ArrayList addins, System.Collections.Stack depCheck, System.String id, System.Boolean optional) [0x000f4] in /Users/builder/data/lanes/4010/3a28108f/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/AddinEngine.cs:612 at Mono.Addins.AddinEngine.ResolveLoadDependencies (System.Collections.ArrayList addins, System.Collections.Stack depCheck, System.String id, System.Boolean optional) [0x000f4] in /Users/builder/data/lanes/4010/3a28108f/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/AddinEngine.cs:612 at Mono.Addins.AddinEngine.ResolveLoadDependencies (System.Collections.ArrayList addins, System.Collections.Stack depCheck, System.String id, System.Boolean optional) [0x0019d] in /Users/builder/data/lanes/4010/3a28108f/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/AddinEngine.cs:627 at Mono.Addins.AddinEngine.LoadAddins (Mono.Addins.IProgressStatus statusMonitor, System.String id, System.Boolean throwExceptions) [0x0006c] in /Users/builder/data/lanes/4010/3a28108f/source/monodevelop/main/external/mono-addins/Mono.Addins/Mono.Addins/AddinEngine.cs:480 ```

    Checking ~/Library/Logs/XamarinStudio-6.0/Updater.log shows that it installed six updates, none of which should have touched MonoGame: 1. MonoFramework-MDK-4.8.0.520.macos10.xamarin.universal.pkg 2. profiler-mac-1.2.1-3.pkg 3. XamarinStudio-6.2.0.1829.dmg 4. xamarin.android-7.1.0-43.pkg 5. xamarin.mac-3.0.0.398.pkg 6. xamarin.ios-10.4.0.128.pkg

    There aren't any errors apparent in the log, yet the MonoGame addin's definitely broken from XS's point of view. Oddly the MonoGame project types are still listed and can apparently be created, built and deployed - I added an Ouya project to a solution without any obvious problems.

    Can anyone provide any advice as to how I might: a. Fix configuration files so that MonoDevelop.MonoGame doesn't have cyclic dependencies any more, or b. Completely uninstall XS from the system so I can do a clean install?

    Thursday, March 16, 2017 10:58 AM

Answers

  • User18049 posted

    The MonoGame addin seems OK for me with Xamarin Studio 6.2. Might be worth closing Xamarin Studio and deleting/renaming the addin cache folder which is the addin-db-002 directory:

    ~/Library/Caches/XamarinStudio-6.0/addin-db-002/
    
    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, March 16, 2017 7:24 PM

All replies

  • User18049 posted

    The MonoGame addin seems OK for me with Xamarin Studio 6.2. Might be worth closing Xamarin Studio and deleting/renaming the addin cache folder which is the addin-db-002 directory:

    ~/Library/Caches/XamarinStudio-6.0/addin-db-002/
    
    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, March 16, 2017 7:24 PM
  • User309276 posted

    @mattward said: The MonoGame addin seems OK for me with Xamarin Studio 6.2. Might be worth closing Xamarin Studio and deleting/renaming the addin cache folder which is the addin-db-002 directory:

    ~/Library/Caches/XamarinStudio-6.0/addin-db-002/
    

    That did the trick, alright. Thank you!

    Thursday, March 16, 2017 10:09 PM