2009-01-26 7 views
2

Voici mon fichier ccnet.config, Lors de l'exécution de ce fichier à partir de la page Web ccnet, il me donne l'erreur MSB1009: Fichier de projet n'existe pas. ": \ Source de \ rapports de test \ ITRTests \ ITRTests \ ITRTests C" (notez les trois niveaux de 'ITRTests') une idée où je fais mal erreur MSB1009: fichier de projet n'existe pas en cours d'exécution deCruiseControl

<project> 
     <name>ITR Test</name> 
     <webURL>http://localhost/ccnet/</webURL> 

     <triggers> 
     <intervalTrigger name="continuous" seconds="30" initialSeconds="30"/> 
     </triggers> 

     <modificationDelaySeconds>2</modificationDelaySeconds> 

     <sourcecontrol type="svn"> 
     <executable>c:\program files\subversion\bin\svn.exe</executable> 
     <trunkUrl>svn://ka/le/TestReports</trunkUrl> 
     <workingDirectory> 
      C:\source\TestReports\ITRTests\ITRTests\ITRTests 
     </workingDirectory> 
     <username></username> 
     <password></password> 
     </sourcecontrol> 

     <tasks> 
     <!-- Use MsBuild to build the .Net solution--> 
     <msbuild> 
      <executable>C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe</executable> 
      <workingDirectory> 
      C:\source\TestReports\ITRTests\ITRTests\ 
      </workingDirectory> 
      <projectFile>ITRTests.sln</projectFile> 
      <targets>RunAutomationTests</targets> 
      <timeout>15</timeout> 
     </msbuild> 

     <!-- Use NUnit for unit testing--> 
     <nunit path="C:\Program Files\NUnit 2.4.8\bin\nunit-console.exe"> 
      <assemblies> 
      <!--Path to Visual Studio project executable--> 
      <assembly> 
       C:\source\TestReports\ITRTests\ITRTests\ITRTests\bin\Debug\ITRTests.dll 
      </assembly> 
      </assemblies> 
     </nunit> 

     <!-- Email notification to users --> 
     <email from="[email protected]" mailhost="hostname" mailport="25" includeDetails="TRUE" 
      mailhostUsername="username" mailhostPassword="password" useSSL="FALSE" > 
      <users> 
      <!-- <user name="LeadDeveloper" group="buildmaster" address="mailto:[email protected] /> --> 
      <!-- <user name="Developer1" group="developers" address="mailto:[email protected] /> --> 
      </users> 
      <groups> 
      <!-- <group name="buildmaster" notification="always" /> --> 
      <!-- <group name="developers" notification="change" /> --> 
      </groups> 
     </email> 

     </tasks> 

     <publishers> 
     <merge> 
      <files> 
      <file>C:\source\TestReports\ITRTests\ITRTests\ITRTests\bin\Debug\TestResult.xml</file> 
      </files> 
     </merge> 
     <xmllogger/> 
     </publishers> 

    </project> 
    </cruisecontrol> 

Répondre

1

Votre bloc SourceControl semble placer le code dans mais la tâche msbuild a un répertoire de travail de "C: \ source \ TestReports \ ITRTests \ ITRTests \" (seulement deux niveaux de 'ITRTests')

Questions connexes