Hi there,
I'm new to CruiseControl and MSBuild. As a start to setup CruiseControl, i had to a build script called build.xml for our exisiting code solution. The first bit was to write a target functionality called clean within the build script file which cleans the solution . The following is the code of my
build.xml
<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="Clean">
<ItemGroup>
<BinFiles Include="Project A\bin\*.*" />
<BinFiles Include="Project B\bin\*.*" />
<BinFiles Include="Project C\bin\*.*" />
<BinFiles Include="Project D\bin\*.*" />
</ItemGroup>
<Delete Files="@(BinFiles)" />
</Target>
</Project>
when i run this using command prompt and entering msbuild Build.xml /
t:Clean
I get an MSB4067 error and an error message saying Workspace\Build.xml
(4,1): error MSB4067:
The element <BinFiles> beneath element <Project> is unrecognized.
I did do some research on the internet and found out this type of
coding is only allowed for visual studio 2008 and msbuild 3.5. how can
i fix this issue as i use only msbuild 2.0 and vs2005. could anyone
correct the syntax above so that it would fit in please/
rgds