本文介绍了修补nant 0.91以使用mono 4.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

南特不支持mono 4,但幸运的是,有一个补丁.

The Nant doesn't support mono 4, but fortunately there's a patch for it.

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

  1. I download the patch - http://sourceforge.net/tracker/download.php?group_id=31650&atid=402870&file_id=404197&aid=3206199
  2. I also download the source.
  3. I unzip the source and copy the patch inside the directory.
  4. I run patch < mono-4.0.diff, but I got this error.

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

can't find file to patch at input line 8Perhaps you should have used the -p or --strip option?

|索引: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

|Index: src/NAnt.Core/Functions/AssemblyFunctions.cs|===================================================================|RCS file: /cvsroot/nant/nant/src/NAnt.Core/Functions/AssemblyFunctions.cs,v|retrieving revision 1.12|diff -u -r1.12 AssemblyFunctions.cs|--- src/NAnt.Core/Functions/AssemblyFunctions.cs 10 Oct 2005 14:51:26 -0000 1.12

要修补的文件:

怎么了?

推荐答案

根据注释,此修补程序已合并到NAnt源代码树中,您简单使用最近每晚?它是在已合并"注释之后构建的.

According to comments, this patch has been merged into the NAnt source tree, wouldn't you be better off to simply use the latest nightly? It's been built after the 'already merged' comment.

这篇关于修补nant 0.91以使用mono 4.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-14 07:16