2009-05-29 64 views
0

我试图用恶性建立城堡项目,并得到下面的结尾输出:建筑城堡项目与建筑物时建设日志去哪里?

   common.compile-dll: 

         [csc] Compiling 92 files to 'C:\code\OSS\castle\build\net-3.5\release\Castle.Core.dll'. 
         [csc] error CS0006: Metadata file 'System.Core.dll' could not be found 
         [csc] error CS0006: Metadata file 'System.Data.DataSetExtensions.dll' could not be found 
         [csc] error CS0006: Metadata file 'System.Data.Linq.dll' could not be found 
         [csc] error CS0006: Metadata file 'System.ServiceModel.Web.dll' could not be found 
         [csc] error CS0006: Metadata file 'System.Web.Extensions.Design.dll' could not be found 
         [csc] error CS0006: Metadata file 'System.Web.Extensions.dll' could not be found 
         [csc] error CS0006: Metadata file 'System.Xml.Linq.dll' could not be found 

       BUILD FAILED 

       C:\code\OSS\castle\common-project.xml(127,5): 
       External Program Failed: c:\WINDOWS\Microsoft.NET\Framework\v3.5\csc.exe (return code was 1) 

       Total time: 1.1 seconds. 


    BUILD FAILED 

    Nested build failed. Refer to build log for exact reason. 

现在,也许我能想出解决办法,或者至少有一个更合理的问题要问,如果我知道的位置建立日志,它通常在哪里?将-l选项添加到nant命令会生成一个包含与输出到屏幕相同的消息的日志。任何人有任何想法?

(有趣的是,这是一个问题的精确副本,这是asked before并没有响应删除)

+0

怪异...我列出了之前提出的问题的谷歌缓存,但没有显示出来。我想知道这是否是设计 – 2009-05-29 01:37:52

回答

0

您的特定错误似乎与楠错误的目标框架内工作相关的(没有检测/使用net-3.5) ,请尝试下载最新版本的nant以解决问题。

注:城堡项目迁移github上:


一些答案您的问题:

它通常在哪里?

  • 构建日志进行到控制台输出或者控制台输出重定向
  • 构建输出变为〜/建造/ .NETFramework-V3.5 /释放或Debug文件夹(I误读的哪个输出部你的问题)

添加-l选项在日志中包含完全相同的消息得到了输出到屏幕上的恶性命令的结果。任何人有任何想法? generaly与恶性

,你可以通过详细的参数更多的诊断,如果你想TP控制台输出到文件,只需用>后缀FILENAME.TXT

nant -v ... > verboseoutput.txt