We are using Cruise control .net, whenever a new build is triggered
the old website is deleted along with the /Uploads folder with the
users demo content (CMS Site) - I dont want this content in source
control. Does anyone know the command to tell the Build Server not to
delete a directory?
<?xml version="1.0"?>
<project name="ProjectName" default="all">
<description>ProjectName</description>
<property name="msbuild.exe" value="C:\WINDOWS\Microsoft.NET\Framework
\v4.0.30319\msbuild.exe" />
<target name="clean" description="Cleans all distributables">
</target>
<target name="all" description="Cleans and creates a full build">
<call target="clean" />
<call target="build" />
</target>
<target name="build" description="build the project">
<exec program="${msbuild.exe}">
<arg value="src/ProjectName.sln" />
<arg line = "/p:Configuration=Release" />
</exec>
</target>
</project>
This is the config section of the build file. It works fine, except
it's replacing as above. Any suggestions?