and MyProject.sln is located at C:\ccnet\MyProject\code\trunk \MyProject.sln? You are sure?
Is it a Visual Studio 2008 sln file? It is either not actually there, or there is something about MyProject.sln that MSBuild considers invalid. On Dec 5, 4:42 pm, Lars Zeb <[EMAIL PROTECTED]> wrote: > Alex, > > It already was as you suggested: > > <msbuild> > <executable>C:\windows\Microsoft.NET\Framework\v3.5\MSBuild.exe</ > executable> > <workingDirectory>C:\ccnet\MyProject\code\trunk\</workingDirectory> > <projectFile>MyProject.sln</projectFile> > <buildArgs> /noconsolelogger /p:configuration=Debug /v:m</buildArgs> > <targets>Clean;Build</targets> > <timeout>600</timeout> > <logger>"C:\Program Files\CruiseControl.NET\server > \ThoughtWorks.CruiseControl.MsBuild.dll"</logger> > </msbuild> > > On Dec 5, 12:44 pm, Alex <[EMAIL PROTECTED]> wrote: > > > > > <msbuild> > > <executable>C:\WINDOWS\Microsoft.NET\Framework > > \v3.5\MSBuild.exe</executable> > > > is then how you set it up. And your working directory should be where > > your solution or project file reside > > > On Dec 5, 3:09 pm, Lars Zeb <[EMAIL PROTECTED]> wrote: > > > > Microsoft Windows [Version 5.2.3790] > > > (C) Copyright 1985-2003 Microsoft Corp. > > > > C:\Documents and Settings\Administrator>C:\windows\Microsoft.NET > > > \Framework\v3.5\MSBuild.exe > > > Microsoft (R) Build Engine Version 3.5.30729.1 [Microsoft .NET > > > Framework, Version 2.0.50727.3053] Copyright (C) Microsoft Corporation > > > 2007. All rights reserved. > > > > MSBUILD : error MSB1003: Specify a project or solution file. The > > > current working directory does not contain a project or solution > > > file. > > > > -----Original Message----- > > > From: [email protected] [mailto:[EMAIL PROTECTED] > > > > On Behalf Of PilotBob > > > Sent: Friday, December 05, 2008 10:43 AM > > > To: ccnet-user > > > Subject: [ccnet-user] Re: ccnet can't find svn.exe > > > > If you type this into your cmd window and press enter does it work? > > > > C:\windows\Microsoft.NET\Framework\v3.5\MSBuild.exe > > > > BOb > > > > On Dec 5, 10:43 am, PilotBob <[EMAIL PROTECTED]> wrote: > > > > If you type this into your cmd window and press enter does it work? > > > > > C:\windows\Microsoft.NET\Framework\v3.5\MSBuild.exe > > > > > BOb > > > > > On Dec 5, 1:29 pm, Lars Zeb <[EMAIL PROTECTED]> wrote: > > > > > > Alex, > > > > > > I re-installed VisualSVNServer at C:\VisualSVNServer and got the same > > > > > error (see at end). Something's wrong with the <executable> element. I > > > > > think the reason I wanted to point it to that directory was that I > > > > > once had problems with using svn hotcopy between regular Subversion > > > > > and VisualSVN. > > > > > > Anyway, I tried what Bob said to do, place the svn.exe into the path > > > > > variable, removed the <executable> element and it worked! However, now > > > > > ccnet cannot find MSBuild.exe. > > > > > > It can't find MSBuild.exe? I am reluctant to place the 3.5 framework > > > > > into the path environmental variable. Any other suggestions? It seems > > > > > like it's close to working. > > > > > > Thanks to both of you for your help, > > > > > > Lars > > > > > > 2008-12-05 08:24:41,703 > > > > > [MyProject:DEBUG]https://server:8443/svn/MyProject/ > > > > > 2008-12-05 08:24:41,718 [MyProject:DEBUG] Starting process [C: > > > > > \VisualSVNServer\bin\svn.exe] in working directory [C:\ccnet\MyProject > > > > > \code\trunk\] with arguments [loghttps://server:8443/svn/MyProject/- > > > > > r "{2008-12-05T01:35:30Z}:{2008-12-05T16:24:41Z}" --verbose --xml -- > > > > > username user --password password --non-interactive --no-auth-cache] > > > > > 2008-12-05 08:24:41,718 [MyProject:ERROR] INTERNAL ERROR: Unable to > > > > > execute file [C:\VisualSVNServer\bin\svn.exe]. The file may not exist > > > > > or may not be executable. > > > > > ---------- > > > > > System.IO.IOException: Unable to execute file [C:\VisualSVNServer\bin > > > > > \svn.exe]. The file may not exist or may not be executable. ---> > > > > > System.ComponentModel.Win32Exception: The directory name is invalid > > > > > > C:\VisualSVNServer\bin\svn.exe] loghttps://server:8443/svn/MyProject/ > > > > > -r "{2008-12-05T01:35:30Z}:{2008-12-05T16:24:41Z}" --verbose --xml -- > > > > > username user --password password --non-interactive --no-auth-cache > > > > > <?xml version="1.0"?> > > > > > <log> > > > > > <logentry > > > > > revision="10"> > > > > > <author>user</author> > > > > > <date>2008-12-05T01:14:35.031250Z</date> > > > > > <paths> > > > > > <path > > > > > action="M">/trunk/MyProject.Web/Content/Site.css</path> > > > > > </paths> > > > > > <msg>Change padding</msg> > > > > > </logentry> > > > > > </log> > > > > > > <msbuild> > > > > > > > > > > <executable>C:\windows\Microsoft.NET\Framework\v3.5\MSBuild.exe</ > > > > > executable> > > > > > > > > > > <workingDirectory>C:\ccnet\MyProject\code\trunk\</workingDirectory> > > > > > <projectFile>MyProject.sln</projectFile> > > > > > <buildArgs> /noconsolelogger /p:configuration=Debug > > > > > /v:m</buildArgs> > > > > > <targets>Clean;Build</targets> > > > > > <timeout>600</timeout> > > > > > <logger>"C:\Program Files\CruiseControl.NET\server > > > > > \ThoughtWorks.CruiseControl.MsBuild.dll"</logger> > > > > > </msbuild> > > > > > > <cruisecontrol project="MyProject"> > > > > > <request source="Dashboard" buildCondition="ForceBuild">Dashboard > > > > > triggered a build (ForceBuild)</request> > > > > > <modifications /> > > > > > <build date="2008-12-04 09:19:59" buildtime="00:00:03" > > > > > buildcondition="ForceBuild" /> > > > > > <exception><![CDATA[System.IO.IOException: Unable to execute file > > > > > [C: > > > > > \windows\Microsoft.NET\Framework\v3.5\MSBuild.exe]. The file may > > > > > not exist or may not be executable. ---> > > > > > System.ComponentModel.Win32Exception: The system cannot find the path > > > > > specified > > > > > > On Dec 5, 8:56 am, PilotBob <[EMAIL PROTECTED]> wrote: > > > > > > > On Dec 5, 7:49 am, Alex <[EMAIL PROTECTED]> wrote: > > > > > > > > Lars, > > > > > > > space in the path to the svn executable maybe an issue. I would > > > > > > > try > > > > > > > reinstalling your SVN and when prompted to name the directory > > > > > > > instead > > > > > > > of taking the deault path remove the space. At the very least this > > > > > > > This is why I suggested not using the <executeable> node... just > > > > > > remove it... and ensure that svn is in the system path. This should > > > > > > resolve the issue. I have never used or needed that node since it > > > > > > defaults to svn.exe. > > > > > > > BOb- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text -
