Publish a Web Application from the Command Line

后端 未结 4 1328
清酒与你
清酒与你 2020-12-24 14:14

I\'ve got a series of .NET 4 based web applications (WCF and Web) within the same solution, but need to selectively publish, from the command line.

I\'ve tried vario

4条回答
  •  醉酒成梦
    2020-12-24 15:19

    My solution for CCNET with the Web.config transformation:

    
        
            C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
            E:\VersionesCC\Trunk_4\SBatz\Gertakariak_Orokorrak\GertakariakMS\Web
            GertakariakMSWeb2.vbproj
            Build
            600
            C:\Program Files\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MSBuild.dll
            
                /noconsolelogger /p:Configuration=Release /v:diag
                /p:DeployOnBuild=true
                /p:AutoParameterizationWebConfigConnectionStrings=false
                /p:DeployTarget=Package
                /p:_PackageTempDir=E:\Aplicaciones\GertakariakMS2\Web
            
            
    
    

提交回复
热议问题