Using CI Factory with Visual Studio 2008

It’s been quite some time since visual studio 2008 is out… I finally moved one of the project which is under continous integration to newest visual studio version. Unfortunately it turned out that my veeeery old CI Factory supports only .net 2.0.

In MSBuild\Compile.Target.xml I found:

  <target name=Compile.CompileSource>

    <exec

      program=${framework::get-framework-directory(‘net-2.0’)}\msbuild.exe workingdir=${ProductDirectory}

      failonerror=false

      resultproperty=Private.Compile.Result

      verbose=true

    >

So without hesitation I put:

  <target name=Compile.CompileSource>

    <exec

      program=c:\windows\Microsoft.NET\Framework\v3.5\msbuild.exe workingdir=${ProductDirectory}

      failonerror=false

      resultproperty=Private.Compile.Result

      verbose=true

    >

Kind of quick and dirty. Newer versions of CI Factory support it out of the box.