MSBuild file for deployment process
- by Lee Englestone
I could do with some pointers, code examples or references that may help me do the following in an msbuild file to help speed up the deployment process..
This scenario involves getting a developers 'local' version onto a 'development' server..
Increment a developers local Web Applications Assembly version number
Publish a developers local Web Application files somewhere
.rar the publsihed files or folder into the format v[IncrementedAssemblyNumber].rar
Copy the .rar to somewhere
Backup (.rar) the existing live website folder (located elsewhere) in the format Pre_v[IncrementedAssemblyNumber].rar
Move the backed up .rar to a /Backup folder.
Overwrite the development web files with the published local web files
Should be simple for all those MSBUILD Gurus out there.
Like I said, answers or 'Good and applicable' links would be much appreciated.
Also i'm thinking of getting one of the MSbuild books. From what I can tell there are 2, possibly 3 contenders. I am not using TFS. Can anyone recommend a book for beginning MSBUILD? Ideally from people that have read more than one book on the subject.
Cheers,
-- Lee