1

I'm using Mono.Addins for my project. Here my code :

static void Main()
     {
         string modulepath = String.Format("{0}\\{1}", Loader.GetCurrentDirectory(), "modules");
         AddinManager.Initialize(modulepath, modulepath);
         AddinManager.Registry.Update(null); //**Error in here**

    }

I'm get an error :

The assembly with display name 'Mono.Addins.CecilReflector' failed to load in the 'Load' binding context of the AppDomain with ID 2. The cause of the failure was: System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Addins.CecilReflector, Version=0.6.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system cannot find the file specified. File name: 'Mono.Addins.CecilReflector, Version=0.6.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'

Any ideas to solve this problem. Thank in advance.

Tobia Zambon
  • 7,479
  • 3
  • 37
  • 69
Hùng Lê Xuân
  • 215
  • 1
  • 5
  • 20

1 Answers1

0

Yeah my problem is solved by copy file Mono.Addins.CecilReflector to application path. Thank Ieppie.

Hùng Lê Xuân
  • 215
  • 1
  • 5
  • 20