Search code examples
.netcommand-linebuildnant

failure scanning NAnt.Contrib.Tasks.dll


Part of my .build:

<loadtasks assembly="${lib.dir}\NAnt.Contrib.Tasks.dll" />

In lib.dir I have NAnt.Contrib.Tasks.dll

If I try to use nant this error message appears:

Failure scanning "Project\lib\NAnt.Contrib.Tasks.dll" for extensions.  Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

Any ideas how to solve it?


Solution

  • This DLL was aslo important: Interop.MsmMergeTypeLib.dll