失败扫描NAnt.Contrib.Tasks.dll

时间:2013-07-04 14:23:23

标签: .net command-line build nant

.build的一部分:

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

在lib.dir中我有NAnt.Contrib.Tasks.dll

如果我尝试使用nant,则会显示以下错误消息:

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.

任何想法如何解决?

1 个答案:

答案 0 :(得分:0)

DLL也很重要:Interop.MsmMergeTypeLib.dll