cc.net配置初篇

vs2010下的一个hello world的winfrm程序,通过如下配置可实现在cc.net下完成编译,生成的功能,我的计划是cc.net下集成,vss;msbuild;fxcop;nunit;等功能,继续学习中..........

<cruisecontrol>

  <project name="MyFirstCCdotNetProject" webURL="http://localhost/ccnet">
    <sourcecontrol type="vss">
      <executable>D:\Program Files\Microsoft Visual SourceSafe\ss.exe</executable>
      <project>$/MyFirstCCdotNetProject</project>
      <username>lyc</username>
      <password>lyc</password>
      <ssdir>\\Anders\andersvss\</ssdir>
      <applyLabel>false</applyLabel>
      <autoGetSource>true</autoGetSource>
      <alwaysGetLatest>false</alwaysGetLatest>
      <workingDirectory>E:\单位\testspace\MyFirstCCdotNetProject</workingDirectory>
      <culture>fr-FR</culture>
      <cleanCopy>false</cleanCopy>
      <timeout units="minutes">10</timeout>
    </sourcecontrol>
    <tasks>
      <msbuild>
        <executable>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe</executable>
        <workingDirectory>E:\单位\testspace\MyFirstCCdotNetProject</workingDirectory>
        <projectFile>MyFirstCCdotNetProject.sln</projectFile>
        <buildArgs>/p:Configuration=Debug /v:diag</buildArgs>
        <timeout>900</timeout>
        <logger>D:\Program Files\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MsBuild.dll</logger>
      </msbuild>
    </tasks>
  </project>

</cruisecontrol>

运行效果图:


你可能感兴趣的:(windows,server,Microsoft,vss,2010)