0
我使用下面的批处理脚本来构建解决方案文件Visual Studio 2010的发布命令 - 命令提示符
set BUILD_PATH=%CD%
call "C:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools\vsvars32.bat"
devenv /clean Release "%BUILD_PATH%\Source\Dotnet\WebService\OPALController\OPALController.sln"
devenv /rebuild Release "%BUILD_PATH%\Source\Dotnet\WebService\OPALController\OPALController.sln
我正在寻找一个命令发布,因为devenv /publish
不工作
有任何其他方式发布工件?
您可能需要考虑Web Deploy(MSDeploy)。请参阅http://stackoverflow.com/questions/3097489/how-to-publish-web-with-msbuild。 – jrummell