When deploying ASP.NET web sites you have a number of options ranging from full blown (up) MSI installers, MSDeploy or the KISS option: xcopy deployment. If the target IIS set up this is a very clean way to redistribute your application. First download a 7za.exe archiver and put it in your solution root. Then create a make.bat file in your web project (build action = none) and paste the following section in it.

Finally add the following line to your web project’s Post-build event command line property:

Run the build again and you will be granted with a zip file named with today’s date containing the files needed to run your application.

Note you might need to tweak the last line in the script to include the files your app needs.