Hi,

As per the title, I am trying to workout how to exclude a project from
CruiseControl.NET.

Currently I have split up the configuration with a single XML file per
project.  The XML file has two MSBuild tasks, first one builds the
project and the second one runs StyleCop against the project.

All the projects are C#/.NET 3.5 or 4.0 solutions that also contain
the new Database type projects and/or custom projects that currently
cannot be built by our CruiseControl.NET server.

  <tasks>
    <msbuild>
      <description>Project 1t</description>
      <executable>C:\WINDOWS\Microsoft.NET\Framework
\v4.0.30319\MSBuild.exe</executable>
      <projectFile>MySolution\MySolution.sln</projectFile>
      <buildArgs>/noconsolelogger /p:SolutionRoot="C:\Program Files
(x86)\CruiseControl.NET\server\MyProject\WorkingDirectory\MyProject" /
p:Configuration=Debug /v:diag</buildArgs>
      <targets>Build</targets>
      <logger>"C:\Program Files (x86)\CruiseControl.NET\server
\ThoughtWorks.CruiseControl.MsBuild.dll"</logger>
      <timeout>900</timeout>
    </msbuild>
    ............
    ............

At the moment CruiseControl.NET is building everything in the solution
however I want to exclude particular projects in a solution (if
possible).

Thanks in advance.

Reply via email to