Full list of /P MSDeploy arguments for MSBuild from TeamCity

后端 未结 2 1763
甜味超标
甜味超标 2021-02-05 03:40

I currently use the MSBuild runner in TeamCity for continuous integration on my local server and this works very well. However, I\'m having trouble finding a full list of suppor

2条回答
  •  独厮守ぢ
    2021-02-05 04:21

    Here are the parameters used by Visual Studio Team Services when creating an ASP.NET (Preview) build definition:

    /p:DeployOnBuild=true 
    /p:WebPublishMethod=Package 
    /p:PackageAsSingleFile=true 
    /p:SkipInvalidConfigurations=true 
    /p:PackageLocation="$(build.artifactstagingdirectory)\\"
    

    One may also extrapolate from the blocks defined in these examples:

    https://msdn.microsoft.com/en-us/library/ff398069(v=vs.110).aspx

    From this example:

    
      
        Package
        False
        
        
        
        
        False
        True
        True
        WMSVC
        
        True
        
          
        
      
    
    

    You could derive the following list:

    • WebPublishMethod
    • LaunchASiteUrlAfterPublish
    • SiteUrlToLaunchAfterPublish
    • MSDeployServiceURL
    • DeployIisAppPath
    • RemoteSitePhysicalPath
    • AllowUntrustedCertificate
    • SkipExtraFilesOnServer
    • DeployAsIisApp
    • MSDeployPublishMethod
    • UserName
    • SavePWD
    • PublishDatabaseSettings

提交回复
热议问题