Perform a web.config transform before publishing with MSBuild Perform a web.config transform before publishing with MSBuild asp.net asp.net

Perform a web.config transform before publishing with MSBuild


Apparently, for the transform to be executed, you have to specify a build configuration using:

/p:Configuration=Release