五月 21, 2010

在CruiseControl.net 中用 devenv.com 自动生成 *.msi 安装文件

Written by

    利用CCNet(CruiseControl.Net)做打包文件时,碰到了一个问题,就是MSBuild没法编译Setup工程(*.vdproj),改用devenv.com配置,即可正常生成:

    vs2010 rc1通过,正常生成了安装文件。


    
<project name=”projectname”>
      
<workingDirectory></workingDirectory>
      
<artifactDirectory></artifactDirectory>
      
<labeller type=”defaultlabeller”>
        
<incrementOnFailure>False</incrementOnFailure>
        
<initialBuildLabel>1588</initialBuildLabel>
        
<labelFormat>0</labelFormat>
        
<postfix />
        
<prefix />
      
</labeller>
      
<sourcecontrol type=”svn”>
        
<trunkUrl>svn://。。。</trunkUrl>
        
<workingDirectory></workingDirectory>
        
<autoGetSource>true</autoGetSource>
        
<deleteObstructions>true</deleteObstructions>
        
<cleanUp>true</cleanUp>
        
<timeout>600000</timeout>
        
<username></username>
        
<password></password>
      
</sourcecontrol>
      
<tasks>
        
<devenv>
          
<executable>D:\Microsoft Visual Studio 10.0\Common7\IDE\devenv.com</executable>
          
<solutionfile>D:\ccnetPrj\Culvert.sln</solutionfile>
          
<buildtype>Build</buildtype>
          
<configuration>Debug</configuration>
          
<buildTimeoutSeconds>60000</buildTimeoutSeconds>
        
</devenv>
      
</tasks>
      ……
      ……
      …… 

 

 

 

Category : C#其他

Tags :

发表评论

电子邮件地址不会被公开。

Proudly powered by WordPress and Sweet Tech Theme