How, as a one-time thing, manually create publish.htm files in four places?
In my company, we do not use the publish.htm file at all. But we have different environments, so we allow the build-script to change the application name, update location, pre-build uri, etc., and also create it using the target Publish . Then the output files are copied to the location of the appropriate environment.
We are a bit old and do this mainly in the cmd file, but I'm sure you can have 4 different msbuild objects that do the same job.
source
share