当前位置: 动力学知识库 > 问答 > 编程问答 >

Msbuild commandline publishing a web site, not web app

问题描述:

This is the bat file. How do you specify the output directory? Is it a bat switch, or in the .publishproj? It builds, but am not sure how to create, or find, the output files! (C:\Publish is empty)

"MSBuild.exe" C:\Temp2\PGRWebAdmin\website.publishproj /fl /p:PublishProfile=Publish /p:VisualStudioVersion=12.0 "/v:diag" /p:OutDir="C:\Publish"

网友答案:

Got there in the end: /p:DeployOnBuild=true

分享给朋友:
您可能感兴趣的文章:
随机阅读: