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

前端 未结 3 1722
北荒
北荒 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:35

    Excerpt from: http://ashwaniksharma.spaces.live.com/Blog/cns!AD160FFA5932F17E!206.entry

    MSBuild .\MyProject.csproj /t:TransformWebConfig;/p:Configuration=Release;DeployOnBuild=True;PackageAsSingleFile=False;outdir=c:\_OuputDir\
    

提交回复
热议问题