问题描述
The Nant doesn't support mono 4, but fortunately there's a patch for it.
- 我下载了补丁- http ://sourceforge.net/tracker/download.php?group_id = 31650& atid = 402870& file_id = 404197& aid = 3206199
- 我还下载了源.
- 我解压缩源代码并将补丁复制到目录中.
-
我运行
patch < mono-4.0.diff
,但出现此错误.
- I download the patch - http://sourceforge.net/tracker/download.php?group_id=31650&atid=402870&file_id=404197&aid=3206199
- I also download the source.
- I unzip the source and copy the patch inside the directory.
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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!