WebDeploy using publish settings


In the new version of Web Deploy 3.6 you can now use your publish settings that were created within Visual Studio. So instead of doing this

msdeploy.exe -verb:sync -source:contentPath=d:\web\wwwroot -dest:contentPath=siteName,computername=https://dev/msdeploy.axd?site=siteName,username=myUser,password=myPass,authtype=basic

Can now be simplified to this:

msdeploy.exe -verb:sync -source:contentPath=d:\web\wwwroot -dest:contentPath=siteName,publishsettings=d:\dev.PublishSettings

Happy days!


Comments (0)