We already have build scripts that creates our web application folders very nicely. We create multiple folders for each environment, and then change the configs in those folders according to the environment.
How can we get the same results as what _CopyWebApplication does?
Example:
<MSBuild Projects="$(SourceCodeCheckoutFolder)\source\UI\$(ProjectName)\$(ProjectName).csproj"
Targets="ResolveReferences; ResolveProjectReferences;_CopyWebApplication"
ToolsVersion="3.5"
StopOnFirstFailure="False"
RunEachTargetSeparately="False"
</MSBuild>
I found that removing the targets has the correct behavoir, another lesson about less is more 🙂