How to tell TFS to deploy multiple webapps containing in one solution?

前端 未结 4 938
温柔的废话
温柔的废话 2020-12-13 15:48

We have a single solution which contains one webapp project and some accompanying projects. Our TFS 2010 is building this solution every night and deploys the webapp to an I

4条回答
  •  一整个雨季
    2020-12-13 16:08

    I have a similar situation where I have a TFSBuild.proj build file and I generate a handful of installers and packages at the end of the build, targetting each of the deployment environments: Development, Test, Staging, and Production. Properties defined in @Matt Shepherd's answer can also be provided directly to the MSBuild task instead of writing them into the individual project files.

    
    
    
      
      
    
    
    
    
    
      
      
      
      
    
    
      $(OutDir)
    
    
    
      
    
      
    
    

    In this case it is possible to specify the DeployIisAppPath and that value will be written to the deployment package parameters file.

提交回复
热议问题