Hi Binu, You cannot directly place MSBuild targets into ccnet.config - instead you'll have to write a separate MSBuild script file with the AfterBuild target in it, and then call this script from ccnet.config.
Craig -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of kuruvi Sent: Friday, 29 May 2009 3:06 a.m. To: ccnet-user Subject: [ccnet-user] Override AfterCompile target in ccnet.config Hi, I am trying to overide the msbuild aftercompile target in ccnet.config. I placed the target in CCNet.config and put a message in it. I ran the script and I dont see the message in the output. Following is the excerpt from the ccnet.config. <tasks> <!--****************** ProviderCheckAmounts Presentation Build *****************--> <msbuild> <projectfile>d:\provider\providercheckamounts\providercheckamounts \providercheckamounts.csproj</projectfile> <buildargs>/p:configuration=release</buildargs> <logger>thoughtworks.cruisecontrol.msbuild.xmllogger,d:\apps \cruisecontrol.net\webdashboard\bin \thoughtworks.cruisecontrol.msbuild.dll</logger> </msbuild> <Target Name="AfterBuild"> <Message Text="test message" /> </Target> </tasks> Thanks Binu Kuruvilla
