Hi Florin, This is due to inconsistent data types within CC.NET :-(
In the source control block, the timeout is a time period (which can handle the unit), while in MSBuild it is just an integer (it is forced to seconds). I have raised an issue in JIRA to get this fixed: http://jira.public.thoughtworks.org/browse/CCNET-1564. For the moment, in the MSBuild task you will need to remove the units attribute - since it is in seconds anyway, this shouldn't be an issue. Craig -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of florin Sent: Friday, 12 June 2009 11:59 p.m. To: ccnet-user Subject: [ccnet-user] "Attributes are not allowed on Int32 types" error on configuration validation & service not starting because of this Using CCNET 1.4.4 SP1. Inside the ccnet.config, I created a xml reference that contains, beside others, the node <timeout units="seconds">5000</timeout> and the configuration validator complains that "Attributes are not allowed on Int32 types". Also the service does not run because of it, but with another error: "System.Runtime.Serialization.SerializationException: The constructor to deserialize an object of type 'ThoughtWorks.CruiseControl.Core.Config.ConfigurationException' was not found." The funny thing is that it only complains about this inside a msbuild tag, but it does not complain about it inside a sourcecontrol tag. Am I doing something wrong here? Thanks, florin
