【发布时间】:2011-01-15 02:50:48
【问题描述】:
我们有许多编译 .NET 代码的 Nant 脚本。这些构建需要 5 到 10 分钟才能运行,我想找到一种方法来加快它们的运行速度。
我们的 Nant 脚本看起来像
<target name="compile.XYZ" description="Compiles the source code">
<msbuild project="${src.dir}\XYZ.sln" verbosity="${build.verbosity}">
<property name="Configuration" value="${build.config}" />
<property name="OutputPath" value="${build.fullpath}/${prefix.xyz}" />
<property name="ReferencePath" value="${assembly.dir}" />
</msbuild>
</target>
它们都与此非常相似。我确实对 nant 进行了调查,但它看起来有点过时,所以我有点犹豫要不要使用它,尽管这可能非常方便,因为我们的构建中有多个目标。
非常感谢您在改进这些构建的性能方面提供的任何帮助!
谢谢:)
【问题讨论】:
标签: build performance nant compilation