Answered my own question, it was a matter of specifying the toolsversion in the MSBuild file, not in CruiseControl...
________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of David Bartmess Sent: Wednesday, December 31, 2008 1:38 PM To: '[email protected]' Subject: [ccnet-user] Can't get project to build using .NET framework v3.5 I have a .NET application that I'm trying to change to use v3.5, but I can't seem to get Cruisecontrol to recognize the v3.5 framework with the MSBuild. The project is below, and the errors I'm getting. What needs to be re-configured to allow the msbuild to use v3.5 instead of 2.0.5727? Thanks! <!-- MSBuild task --> <msbuild> <executable>C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe</executable> <workingDirectory>D:\Integration\Source\Code\CodeTrunk\WSOD1.5\Web\Clients\Products\Research\DeShaw\BrokerVote</workingDirectory> <projectFile>WSOD.Web.Clients.Products.Research.DeShaw.BrokerVote.csproj.msbuild</projectFile> <buildArgs>/v:normal /noconlog /p:Configuration=Release;Enviroment=Development</buildArgs> <targets></targets> <timeout>60</timeout> <logger>C:\Program Files\CruiseControl.NET.1.3\webdashboard\bin\ThoughtWorks.CruiseControl.MsBuild.dll</logger> </msbuild> ********************* Log Output ********************* <?xml version="1.0" encoding="utf-8" standalone="yes"?> <msbuild startTime="12/31/2008 13:23:04" elapsedTime="00:00:01" success="false"> <project file="D:\Integration\Source\Code\CodeTrunk\WSOD1.5\Web\Clients\Products\Research\DeShaw\BrokerVote\WSOD.Web.Clients.Products.Research.DeShaw.BrokerVote.csproj.msbuild" success="false"> <target name="CoreResGen" success="true"> <message level="normal"><![CDATA[No resources are out of date with respect to their source files. Skipping resource generation.]]></message> </target> <target name="CoreCompile" success="false"> <message level="high"><![CDATA[C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Csc.exe /noconfig /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:TRACE /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Configuration.dll /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.DataSetExtensions.dll" /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.DirectoryServices.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.EnterpriseServices.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Web.dll /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Web.Extensions.Design.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Web.Extensions.dll" /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Web.Mobile.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Web.Services.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Xml.Linq.dll" /reference:D:\Integration\Publish\Framework\1.7\Release\WSOD.Common.Diagnostics.dll /reference:D:\Integration\Publish\Framework\1.7\Release\WSOD.Common.Processors.ExcelReport.dll /reference:D:\Integration\Publish\Framework\1.7\Release\WSOD.Common.Web.Framework.dll /reference:D:\Integration\Publish\Framework\1.7\Release\WSOD.Web.Common.Remoting.dll /reference:D:\Integration\Publish\Framework\1.7\Release\WSOD.Web.Common.UI.dll /reference:D:\Integration\Publish\Framework\1.7\Release\WSOD.WIT.dll /debug:pdbonly /optimize+ /out:obj\Release\WSOD.Web.Clients.Products.Research.DEShaw.BrokerVote.dll /resource:obj\Release\WSOD.Web.Clients.Products.Research.DEShaw.BrokerVote.Properties.Resources.resources /target:library Controls\BrokerVoteBaseControl.ascx.cs Controls\BrokerVoteBaseControl.ascx.designer.cs Controls\Comments.ascx.cs Controls\Comments.ascx.designer.cs Controls\Header.ascx.designer.cs Controls\Vote_Ballot.ascx.cs Controls\Vote_Ballot.ascx.designer.cs Controls\Vote_Header.ascx.cs Controls\Vote_Header.ascx.designer.cs Data\BallotObject.cs Data\BallotView.cs Data\BrokerVoteBasePage.cs Controls\Header.ascx.cs Controls\Vote_Ratings.ascx.cs Controls\Vote_Ratings.ascx.designer.cs Data\ClientInvestor.cs Data\ContactDisplay.cs Data\RatingObject.cs Data\ScriptCache.cs Data\Scripts.cs Data\ServiceBase.cs Data\SQLQuery.cs Data\SQLSubmit.cs Data\SQLVotePeriod.cs Data\Step.cs Data\Styles.cs Data\VoteView.cs Data\WSODRemote.cs default.aspx.cs default.aspx.designer.cs Login.aspx.cs Login.aspx.designer.cs Masters\Blank.Master.cs Masters\Blank.Master.designer.cs Masters\BrokerVote.Master.cs Masters\BrokerVote.Master.designer.cs Properties\AssemblyInfo.cs Properties\Resources.Designer.cs Properties\Settings.Designer.cs Ratings.aspx.cs Ratings.aspx.designer.cs Services\VotePeriod.asmx.cs]]></message> <error code="CS1026" file="Controls\Vote_Ballot.ascx.cs" line="57" column="35"><![CDATA[) expected]]></error> <error code="CS1002" file="Controls\Vote_Ballot.ascx.cs" line="57" column="53"><![CDATA[; expected]]></error> <error code="CS1525" file="Controls\Vote_Ballot.ascx.cs" line="57" column="53"><![CDATA[Invalid expression term 'in']]></error> David Bartmess Wall Street On Demand [email protected]<mailto:[email protected]> direct: 303.417.9999 x585 cell: 303.883-9117 fax: 303.444.2586
