【问题标题】:failure scanning NAnt.Contrib.Tasks.dll扫描 NAnt.Contrib.Tasks.dll 失败
【发布时间】:2013-07-02 14:27:45
【问题描述】:

我的.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.

有什么办法解决吗?

【问题讨论】:

    标签: .net command-line build nant


    【解决方案1】:

    DLL 也很重要:Interop.MsmMergeTypeLib.dll

    【讨论】:

    • @MichaelJSwart 为什么不是答案? :) 我错过了这个 DLL
    • +1,如果您没有此dll 与NAnt.Contrib.Tasks.dll 在同一文件夹中,您将收到错误消息。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-06-27
    • 1970-01-01
    • 2013-07-09
    • 2021-07-09
    • 2017-10-11
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多