Build automation 当与nant一起构建castle项目时,构建日志放在哪里?
我正在尝试使用nant构建castle项目,并获得以下输出:Build automation 当与nant一起构建castle项目时,构建日志放在哪里?,build-automation,nant,castle,Build Automation,Nant,Castle,我正在尝试使用nant构建castle项目,并获得以下输出: 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
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命令会生成一个日志,其中包含与屏幕上的get输出完全相同的消息。有人知道吗
(有趣的是,这是一个完全重复的问题,该问题已被删除,但没有回答)您的特定错误似乎与nant使用错误的目标框架(未检测/使用net-3.5)有关,请尝试下载nant的最新版本以修复该问题 注意:城堡项目迁移到github:
- 每个核心项目现在都被分离并迁移到
- 生成系统现在是msbuild
对您的问题的一些回答: 它通常去哪里
- 生成日志转到控制台输出或重定向控制台输出的位置
- 构建输出转到~/build/.NETFramework-v3.5/Release或Debug文件夹(我误解了问题的哪个输出部分)
nant-v…>verboseoutput.txt
奇怪……我在谷歌缓存中列出了之前提出的问题,但没有显示出来。我想知道这是不是故意的