【问题标题】:Patching nant 0.91 to use mono 4.0修补 nant 0.91 以使用 mono 4.0
【发布时间】:2011-09-06 14:33:43
【问题描述】:

Nant 不支持单声道 4,还好有a patch for it

  1. 我下载了补丁-http://sourceforge.net/tracker/download.php?group_id=31650&atid=402870&file_id=404197&aid=3206199
  2. 我也下载了source
  3. 我解压源代码并将补丁复制到目录中。
  4. 我运行patch < mono-4.0.diff,但出现此错误。

    在输入第 8 行找不到要修补的文件 也许您应该使用 -p 或 --strip 选项?

    导致此的文字是:

    |索引:src/NAnt.Core/Functions/AssemblyFunctions.cs |=================================================== =================== |RCS 文件:/cvsroot/nant/nant/src/NAnt.Core/Functions/AssemblyFunctions.cs,v |检索修订版 1.12 |diff -u -r1.12 AssemblyFunctions.cs |--- src/NAnt.Core/Functions/AssemblyFunctions.cs 2005 年 10 月 10 日 14:51:26 -0000 1.12

    |+++ src/NAnt.Core/Functions/AssemblyFunctions.cs 2011 年 3 月 13 日 09:14:40 -0000

    要修补的文件:

可能出了什么问题?

【问题讨论】:

    标签: mono diff nant patch


    【解决方案1】:

    根据 cmets 的说法,这个补丁已经被合并到了 NAnt 源码树中,你直接使用latest nightly 不是更好吗?它是在“已合并”评论之后构建的。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-12-30
      • 1970-01-01
      • 2023-03-19
      • 2012-01-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多