简体   繁体   中英

Difference between MsBuild and MsDeploy

While learning continuous integration , i come across both of these terms. And i got confused. May be it is a very silly question. But i want to know in continuous integration process what are the role of MsBuild.exe and MsDeploy.exe . Can i use one over other. Or do they have there own purpose.

I have also tried to use both options but while using them i got following error on server request timeout for "www.serverurl/MsDeployAgentService"

Should i use www.serverurl.com/msbuild.axd or www.serverurl.com/MsDeployAgentService.

As far as i understand, they both build and publish application with config transform. Please help me out.

您无法使用msdeploy构建,但您可以使用msbuild构建和部署,也可以使用msbuild构建并使用msdeploy进行部署

MSBuild is a hierarchical target-based build system . It's intent it to run general purpose tasks related to building an application, and is primarily focused around compilation. Visual Studio uses this when you build your project.

MSDeploy (or Microsoft Web Deploy) is a CLI and library for deploying files (and other configuration) between servers. It handles concepts like authentication, skipping files and environment-specific parameters. Visual Studio uses this when you select "Publish".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM