How can I publish site from command line with some publish profile?

前端 未结 2 902
时光取名叫无心
时光取名叫无心 2020-12-13 11:03

Something like

msbuild /t:publish [use PublishProfileName] someproject.csproj

2条回答
  •  感情败类
    2020-12-13 11:21

    This is an alternative solution for achieving Pavel's solution but using MsBuild target in a MsBuild file:

    
    
        
            Release
            $(DeploymentProject)\bin\$(Configuration)
            C:\Inetpub\wwwroot
        
        
            
            
        
    
    

提交回复
热议问题