Starting problems with 0.5.0

5 views
Skip to first unread message

Sascha Montellese

unread,
May 26, 2010, 5:11:24 PM5/26/10
to Mono.Addins
Hey

Thanks again for the new release. I wasn't sure whether to post this
here or in the discussion section on CodePlex but as all the
discussing happend here until now I decided to post this here as well.
So please let me know if I should post it there instead.

I ran the sample projects and my own very basic test project and
everything seems to work fine. Unfortunately I can't get it to work
within a bigger project I'm working on. I even removed all the
complicated stuff until I was left with the main program, a class
library providing an extension point and a class library extending
that extension point (therefore the addin). This is what my folder
structure looks like this:

Test.exe (application)
/addins
/addins/TestLib.dll (addin root)
/addins/TestAddin.dll (addin)

Whenever I run AddinManager.Initialize() or Registry.Update() I get
the following errors:

ERROR: Add-in scan operation failed. The Mono runtime may have
encountered an error while trying to load an assembly.
ERROR: Add-in scan operation failed
ERROR: The add-in database could not be updated. It may be due to file
corruption. Try running the setup repair utility

I already tried deleting all the files and rebuilding the solution but
it doesn't help. As mentioned in the error message I also copied
mautil.exe into the application folder, fired it up and executed the
following command

mautil -reg . -v rgb

which seemed to work successfully. So I went into the "addins" folder
and what I got now are two new folders: "addin-db-001" and "addins".
The "addins/addins" folder contains another "addin-db-001" folder.
Executing any other mautil command which should list some information
about the installed addins didn't work until I copied the folder
"addins/addins/addin-db-001" over "addins/addin-db-001". So what am I
doing wrong or what changes to the structure/architecture did I miss?
Why does it create another "addins" folder inside the "addins" folder?
And why is the addin registry in the primary "addins" folder broken
(files missing)?

I appreciate every help/hint/suggestion and am glad to provide more
detailed information if needed.

Cheers
Montellese

tim

unread,
Jan 15, 2011, 1:05:14 PM1/15/11
to mono-...@googlegroups.com
Montellese,

If you are still having problems with this set-up you can check-out my blog post about this topic. I think you are experiencing this issue that I ran up against this week. You can find it here: http://timothyhoward.org/blog/?p=120

If you need a quick fix like I discussed I can provide more details on what to change.


Tim

Reply all
Reply to author
Forward
0 new messages