Contents tagged with CC.NET

  • CruiseControl.NET Caching Old Project Locations SOLVED

    As I mentioned in my previous post, we're just wrapping up a continuous integration solution for a client (and if you're not using this for your team, you should be.  If you don't have time to do it, contact us to do it for you.  You'll thank me later.) and one of the last requirements changes was an update to where on the build server's hard drive the project files should reside once they're checked out from source control.  After making this change in the cc.net.config file for the various ccnet projects, and also making the change in the source control provider's working folder association for the build account username, I figured things would just work.  I forgot … more

  • Tweak web.config To Set Compilation Debug False

    ASP.NET applications should never run with <compilation debug="true"> in production.  It can have drastic performance implications (of the negative kind).  Obviously, in a perfect world, developers would always remember to verify this setting whenever they upload changes to production, but unfortunately many organizations utilize fallible humans in their deployment process, and this is something that is easily missed. As part of an automated build process, this problem can be eliminated fairly easily.  Most sections within web.config can be extracted to separate files (using the configSource="{path}" attribute), and separate files can be pulled in for TEST, STAGE, and … more

  • Use Unit Test Framework to Test Production DB Consistency

    For Lake Quincy Media's AdSignia Ad Server, I wanted to be able to ensure that the database had some internal logic rules checked periodically.  What kinds of rules?  Well, probably an example would be best.  Suffice to say up front, though, that we're talking about more than NOT NULL or enforcing referential integrity.  For example, part of the ad engine's job is to redirect requests to ads to their destination URL on the advertiser's page.  These URLs are stored in a field in the database.  Occasionally, through cut-and-paste, there would be newlines in the URL field, which would be difficult to detect visually, but which would cause the redirect to … more

  • Cruise Control Configuration File Editor

    One of my developers is doing some work on our Cruise Control setup and found this gem that I'd somehow missed: CCNetConfig.  A slick little GUI for editing your ccnet.config file (screenshots).  Seems to work well enough for most of the common settings - I haven't used it enough myself yet to really fully review or evaluate it, but the project seems to be pretty active, and it's open source so if you really need something to work, you could always add it... more

  • Fixed: CCNET + MSBUILD Logger Error

    Ran into a snag this weekend with my build server - it started throwing errors related to the path to a folder, like this: .MSBUILD : error MSB4015: The build was aborted because the "MsBuildToCCNetLogger" logger failed unexpectedly during shutdown. System.ArgumentException: The path is not of a legal form. at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) at System.IO.Path.GetDirectoryName(String path) at Rodemeyer.MsBuildToCCNet.MsBuildToCCNetLogger.WriteErrorsOrWarnings(XmlWriter w, String type, IEnumerable list) at Rodemeyer.MsBuildToCCNet.MsBuildToCCNetLogger.WriteProject(XmlWriter w, Project p) at Rodemeyer.MsBuildToCCNet.MsBuildToCCNetLogger.WriteLog(XmlWriter w) at … more

  • CCNET with MSBuild and AssemblyInfoTask

    This afternoon I embarked on a quick (hah!) task to fix a problem with my CC.NET implementation.  I’m using CC.NET running on my Team Foundation Server machine.  It checks my TFS source control to see when anything in my project has changed, and if it has, it kicks off a build using an MSBuild <exec> task pointing at a solution (.sln) file which it grabs from source control.  The problem I’m encountering is that one of the folders in this Workspace is a website.  Not a Web Application Project, just a plain old VS2005 website.  It has a /bin folder with a bunch of assemblies in it, but as it is not a Web Application Project it has no project file and … more