I have a project which we are trying to automate the deployment system. The plan is to automatically deploy the project to a staging server anytime the build succeeds from SVN.
I have had a few problems with this, but here are some of the links which may come in handy for you.
- MSDeploy skip rules when using MSBuild PublishProfile with Visual Studio 2012
- Web Deploy : Customizing a deployment package
- How to set MSDeploy settings in .csproj file
- MSBuild target VSMSdeploy doesn’t seem to support skip with a skipAction
Still some tweaks to get this to work… If i find any more links i will put them here… The problem we are haivng is when a deploy happens, the WebDeployment tool cannot overwrite the log files directory, since they are in use… one option would be to restart IIS, which would be ok in staging, but we want to keep the logs in test and production, so, we need to figure out how to tell Web Deploy not to over write the files.