Native DLLs without manifests

13 views
Skip to first unread message

Weeble

unread,
May 10, 2011, 6:56:41 AM5/10/11
to Mono.Addins
Is it possible to explicitly list the assemblies that should be
scanned for extension points? My application has a number of native
DLLs in its application directory. When I try to initialize
Mono.Addins, it attempts to load these as assemblies and prints out
errors like this:

ERROR: There was an error while scanning assembly: W:\gitrepos\ohwidget
\build\ozw.dll (The module was expected to contain an assembly
manifest. (Exception from HRESULT: 0x80131018))

It seems that this doesn't stop anything from working, but I would
prefer to avoid scanning these DLLs and generating these errors in the
first place. Is there a way to stop Mono.Addins from inspecting them?

Lluis Sanchez

unread,
May 11, 2011, 4:36:16 AM5/11/11
to mono-...@googlegroups.com
You can specify files to exclude in a file with .addins extension. See:

http://monoaddins.codeplex.com/wikipage?title=Add-in%
20Discovery&referringTitle=Reference%20Manual&ANCHOR#Add-in%20folders

The Exclude element can be used to specify a folder or a specific file.

Lluis.


El dt 10 de 05 de 2011 a les 03:56 -0700, en/na Weeble va escriure:

Weeble

unread,
May 11, 2011, 4:54:10 AM5/11/11
to mono-...@googlegroups.com
Weeble:

>> Is it possible to explicitly list the assemblies that should be
>> scanned for extension points? My application has a number of native
>> DLLs in its application directory.

Lluis Sanchez:


> You can specify files to exclude in a file with .addins extension. See:
>
> http://monoaddins.codeplex.com/wikipage?title=Add-in%
> 20Discovery&referringTitle=Reference%20Manual&ANCHOR#Add-in%20folders
>
> The Exclude element can be used to specify a folder or a specific file.

Thanks, that's perfect!

Reply all
Reply to author
Forward
0 new messages