I created an ASP.NET MVC web application project which I commit to Visual Studio Online (Git repo) and is linked to a Windows Azure website for automatic deployment (if all unit tests succeed). My project contains the default Web.Release.config transformation that should remove the Web.config attribute /configuration/system.web/compilation/@debug
which should (amongst others) enable script bundling.
It appears the web.config transformation is not executed during deployment, so I guess it doesn't use the Release configuration during build/deployment.
I also don't find a way to alter the default build definition in Visual Studio Online.
How can I get Visual Studio Online/Azure to deploy my project using Release build configuration?