Publish ASP.NET MVC 2 application from command line and Web.config transformations

前端 未结 3 1746
北荒
北荒 2021-01-16 00:06

Good day!

I\'ve found this solution here: VS2010 Web Publish command line version of File System deploy

C:\\Windows\\Microsoft.NET\\Framework\\v4.0.3         


        
3条回答
  •  轮回少年
    2021-01-16 00:29

    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
            
            
    
    

提交回复
热议问题